uses window.location.pathname for the dropzone url