Skip to content

Commit 1dcd4cc

Browse files
authored
Update packages (#79)
1 parent aa2c4d5 commit 1dcd4cc

File tree

5 files changed

+1832
-1070
lines changed

5 files changed

+1832
-1070
lines changed

Licence.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2023 Libraries Hacked.
3+
Copyright (c) 2025 Libraries Hacked.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

app.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ const openApiDocument = require('./openapi.json')
77
const routes = require('./routes')
88
const app = express()
99

10-
const port = process.env.PORT || 3000
11-
1210
app.use(compression())
1311
app.use(express.static('public', { maxAge: '1d' }))
1412

@@ -23,4 +21,4 @@ app.get('/privacy', (req, res) => res.render('privacy'))
2321
app.use('/api/', routes)
2422
app.use('/api/', swaggerUi.serve, swaggerUi.setup(openApiDocument))
2523

26-
app.listen(port)
24+
app.listen(process.env.PORT || 3000)

0 commit comments

Comments
 (0)