License system implemented
This commit is contained in:
@@ -29,6 +29,7 @@ startDatabase()
|
||||
const path = require('path')
|
||||
app.use('/static', express.static(path.join(__dirname, 'images')))
|
||||
app.use("/exercises", exercises)
|
||||
app.use("/files", files)
|
||||
|
||||
// Add delay for more realistic response times
|
||||
app.use((req, res, next) => {
|
||||
@@ -44,7 +45,6 @@ app.use("/orders", order)
|
||||
app.use("/accounts", account)
|
||||
app.use("/cities", city)
|
||||
app.use("/concerts", concert)
|
||||
app.use("/files", files)
|
||||
|
||||
// Start server
|
||||
const server = app.listen(port, () => {
|
||||
|
||||
Reference in New Issue
Block a user