Merged PR 367: updated deployment config

Related work items: #5226
This commit is contained in:
Robert Bond
2021-07-16 10:26:35 +00:00
2 changed files with 26 additions and 22 deletions
+5 -1
View File
@@ -32,8 +32,12 @@ module.exports = withStyles({
},
});
module.exports = {
generateBuildId: async () => {
// You can, for example, get the latest git commit hash here
return "pinswg-build-id";
},
poweredByHeader: false,
env:{
env: {
// GRANT_TYPE : 'password',
// USERNAME : 'api',
// API_ROOT : "https://api.dev.prevent.internal.rehab",
+1 -1
View File
@@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"build": "NODE_ENV=production node_modules/next/dist/bin/next build",
"start": "node_modules/next/dist/bin/next start -p $PORT"
},
"dependencies": {