Added Crud Rest API for guest players, unknown players in saved games are automatically added as guests. Games are now as such saved correctly. More decoupling from models. Updated express for better error handling.
This commit is contained in:
@@ -39,10 +39,6 @@ app.locals = {
|
||||
initialisePassport();
|
||||
app.use(passport.initialize());
|
||||
app.use(passport.session());
|
||||
app.use((req, res, next) => {
|
||||
console.log(req.originalUrl);
|
||||
next();
|
||||
});
|
||||
app.use(Settings.serverRoot + "/static", express.static("static"));
|
||||
app.use(Settings.serverRoot, MainRouter);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user