summaryrefslogtreecommitdiff
path: root/bucky/app
diff options
context:
space:
mode:
Diffstat (limited to 'bucky/app')
-rw-r--r--bucky/app/index.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/bucky/app/index.js b/bucky/app/index.js
index 5b541d0..24f1035 100644
--- a/bucky/app/index.js
+++ b/bucky/app/index.js
@@ -54,6 +54,7 @@ site.init = function(){
saveUninitialized: false,
}))
+ upload.init()
// federate.route(app)
// app.use(csurf({
@@ -71,8 +72,6 @@ site.init = function(){
console.log('Bucky listening at http://' + process.env.HOST_NAME + ':%s', server.address().port)
})
- upload.init()
-
app.all('*', middleware.ensureLocals)
api.route(app)