Centralize URL flow
This commit is contained in:
parent
8e4874bbf0
commit
efa7b6ed11
2 changed files with 4 additions and 4 deletions
|
@ -9,7 +9,7 @@ const stashRouter = require("./routes/stash-route");
|
|||
// Define Constants & Setup Database
|
||||
const app = express();
|
||||
const port = Server.Port;
|
||||
const timeout = 10 * 60 * 1000;
|
||||
const timeout = 10 * 60 * 1000; // 10 minutes
|
||||
// Set Up Express session and View engine
|
||||
app.use(bearerToken());
|
||||
app.use(bodyParser.json({ limit: Server.BodyLimit }));
|
||||
|
|
Reference in a new issue