Skip to content

Commit

Permalink
feat: fixed dev support
Browse files Browse the repository at this point in the history
  • Loading branch information
acaldas committed May 15, 2024
1 parent 5c7e2cd commit 8ea3e51
Show file tree
Hide file tree
Showing 11 changed files with 88 additions and 852 deletions.
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"license": "AGPL-3",
"scripts": {
"start": "node dist/index.js",
"start": "NODE_ENV=production node dist/index.js",
"dev": "vite-node -w src/index.ts",
"debug": "DEBUG=1 npm run dev",
"lint": "eslint \"./**/*.{ts,tsx}\" --max-warnings=0",
Expand Down
2 changes: 1 addition & 1 deletion api/src/env/getters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ export const getJwtExpirationPeriod = (): string => {
throw new Error('JWT_EXPIRATION_PERIOD must be a number of seconds or ms string');
}
return process.env.JWT_EXPIRATION_PERIOD;
};
};
Loading

0 comments on commit 8ea3e51

Please sign in to comment.