aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-11-15 22:59:56 -0800
committerAdam Soltys <[email protected]>2023-11-15 22:59:56 -0800
commita81cb5add30036b5cf206e9f8003287922344725 (patch)
tree3b574c3242b24f2c5998b36a9f57d154f92ed0d2 /index.js
parent545820baa7bf625fdb4abc7ec94154049391b710 (diff)
downloadcoinos-server-a81cb5add30036b5cf206e9f8003287922344725.tar.gz
coinos-server-a81cb5add30036b5cf206e9f8003287922344725.zip
hash uploads
Diffstat (limited to 'index.js')
-rw-r--r--index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js
index 40c72795..4a645f15 100644
--- a/index.js
+++ b/index.js
@@ -79,7 +79,7 @@ app.post("/disable2fa", auth, users.disable2fa);
app.post("/2fa", auth, users.enable2fa);
app.post("/user", auth, users.update);
app.post("/reset", auth, users.reset);
-app.post("/upload/:type", auth, users.upload);
+app.post("/upload/:type", users.upload);
app.get("/users/delete/:username", users.del);
app.post("/login", users.login);