diff options
author | Marvin Borner | 2019-05-01 20:42:16 +0200 |
---|---|---|
committer | Marvin Borner | 2019-05-01 20:42:16 +0200 |
commit | 82afdcd8609342bd7080460e152b6a0e3db5aaff (patch) | |
tree | ff9aeafead147ddcad934adc5fe71bd26562f69b /src/main/resources/js | |
parent | 8549c68cfcf4caabb696152f36facc074129ebcf (diff) |
Cleaned up code
Co-authored-by: LarsVomMars <lars@kroenner.eu>
Diffstat (limited to 'src/main/resources/js')
-rw-r--r-- | src/main/resources/js/files.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/resources/js/files.js b/src/main/resources/js/files.js index de52635..35a25b4 100644 --- a/src/main/resources/js/files.js +++ b/src/main/resources/js/files.js @@ -116,7 +116,7 @@ function setListeners() { request.onload = () => { if (request.status === 200 && request.readyState === 4) { if (request.responseText) - window.location = `/share?id=${request.responseText}`; + window.location = `/shared?id=${request.responseText}`; else alert('File not found!'); } }; |