We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 756e8d7 commit 3e02a06Copy full SHA for 3e02a06
package.json
@@ -1,9 +1,9 @@
1
{
2
"scripts": {
3
"build:ts": "tsc -p tsconfig.production.json",
4
- "build:next": "next build",
+ "build:next": "API_ORIGIN=http://localhost:8080 next build",
5
"prepare": "npm run clean && npm run build:ts && npm run build:next",
6
- "start": "NODE_ENV=production republic lib/app.js",
+ "start": "NODE_ENV=production API_ORIGIN=http://localhost:8080 republic lib/app.js",
7
"dev": "tsc && NODE_ENV=development API_ORIGIN=http://localhost:8080 nodemon lib/app.js --exec republic --watch lib/",
8
"api": "cd api && make",
9
"test": "API_ORIGIN=http://api jest --notify",
0 commit comments