made quick fix
Test Workflow / test-and-lint (pull_request) Successful in 44s
Build and Push Image / build-and-push (pull_request) Successful in 1m53s

This commit is contained in:
2026-05-30 23:51:27 -07:00
parent bc7b1ef4be
commit 04521aed79
2 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -5,8 +5,8 @@
"main": "app.js", "main": "app.js",
"scripts": { "scripts": {
"dev": "nodemon src/app.js", "dev": "nodemon src/app.js",
"start": "node src/app.js", "start": "NODE_ENV=production node src/app.js",
"docker:start": "node --env-file=.env src/app.js", "docker:start": "NODE_ENV=production node --env-file=.env src/app.js",
"lint": "eslint .", "lint": "eslint .",
"lint:fix": "eslint . --fix", "lint:fix": "eslint . --fix",
"migrate": "node-pg-migrate -m ./src/migrations", "migrate": "node-pg-migrate -m ./src/migrations",
+3 -1
View File
@@ -13,7 +13,9 @@ import collectionRoutes from './routes/collections/index.js'
import setRoutes from './routes/sets/index.js' import setRoutes from './routes/sets/index.js'
import itemRoutes from './routes/items/index.js' import itemRoutes from './routes/items/index.js'
loadEnvFile() if (process.env.NODE_ENV !== 'test') {
loadEnvFile()
}
const app = express() const app = express()
const port = process.env.PORT || 3000 const port = process.env.PORT || 3000