summaryrefslogtreecommitdiff
path: root/bucky/app/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'bucky/app/index.js')
-rw-r--r--bucky/app/index.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/bucky/app/index.js b/bucky/app/index.js
index 63a285d..29017b1 100644
--- a/bucky/app/index.js
+++ b/bucky/app/index.js
@@ -55,12 +55,12 @@ site.init = function(){
}))
upload.init()
- federate.route(app)
+// federate.route(app)
- app.use(csurf({
- cookie: true,
- value: (req) => { req.headers['csrf-token'] }
- }))
+// app.use(csurf({
+// cookie: true,
+// value: (req) => { req.headers['csrf-token'] }
+// }))
app.disable('x-powered-by')
app.use(express.query())