aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/js
diff options
context:
space:
mode:
authorMarvin Borner2019-05-01 20:42:16 +0200
committerMarvin Borner2019-05-01 20:42:16 +0200
commit82afdcd8609342bd7080460e152b6a0e3db5aaff (patch)
treeff9aeafead147ddcad934adc5fe71bd26562f69b /src/main/resources/js
parent8549c68cfcf4caabb696152f36facc074129ebcf (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.js2
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!');
}
};