fix setup
This commit is contained in:
@@ -190,7 +190,11 @@ export class FrontblockAdmin extends ConfigLoader<AdminConf>{
|
||||
response.status(200)
|
||||
response.set('Content-Type', 'application/javascript')
|
||||
response.send(frontend)
|
||||
})
|
||||
})
|
||||
|
||||
this.express.get("*", (req, res) => {
|
||||
res.status(301).redirect("/")
|
||||
})
|
||||
|
||||
this.httpServer = new http.Server(this.express)
|
||||
this.httpServer.listen(port, () => {
|
||||
|
||||
Reference in New Issue
Block a user