feat: image upload + list root assets (wip)
This commit is contained in:
@@ -140,7 +140,6 @@ module.exports = async () => {
|
||||
path: '/graphql-subscriptions'
|
||||
}
|
||||
})
|
||||
app.use('/graphql', mw.upload)
|
||||
apolloServer.applyMiddleware({ app })
|
||||
|
||||
// ----------------------------------------
|
||||
@@ -148,6 +147,7 @@ module.exports = async () => {
|
||||
// ----------------------------------------
|
||||
|
||||
app.use('/', ctrl.auth)
|
||||
app.use('/', ctrl.upload)
|
||||
app.use('/', ctrl.common)
|
||||
|
||||
// ----------------------------------------
|
||||
|
Reference in New Issue
Block a user