Change ports

This commit is contained in:
Rory Powell 2022-02-23 07:00:57 +00:00
parent 7fe3844d08
commit 83d8c70419
3 changed files with 9 additions and 9 deletions

View File

@ -1,10 +1,10 @@
{ {
"baseUrl": "http://localhost:41000", "baseUrl": "http://localhost:4100",
"video": true, "video": true,
"projectId": "bmbemn", "projectId": "bmbemn",
"env": { "env": {
"PORT": "41000", "PORT": "4100",
"WORKER_PORT": "42000", "WORKER_PORT": "4200",
"JWT_SECRET": "test", "JWT_SECRET": "test",
"HOST_IP": "" "HOST_IP": ""
} }

View File

@ -14,10 +14,10 @@
"cy:open": "cypress open", "cy:open": "cypress open",
"cy:run": "cypress run", "cy:run": "cypress run",
"cy:run:ci": "xvfb-run cypress run --headed --browser chrome --record", "cy:run:ci": "xvfb-run cypress run --headed --browser chrome --record",
"cy:test": "start-server-and-test cy:setup http://localhost:41000/builder cy:run", "cy:test": "start-server-and-test cy:setup http://localhost:4100/builder cy:run",
"cy:ci": "start-server-and-test cy:setup:ci http://localhost:41000/builder cy:run:ci", "cy:ci": "start-server-and-test cy:setup:ci http://localhost:4100/builder cy:run:ci",
"cy:debug": "start-server-and-test cy:setup http://localhost:41000/builder cy:open", "cy:debug": "start-server-and-test cy:setup http://localhost:4100/builder cy:open",
"cy:debug:ci": "start-server-and-test cy:setup:ci http://localhost:41000/builder cy:open" "cy:debug:ci": "start-server-and-test cy:setup:ci http://localhost:4100/builder cy:open"
}, },
"jest": { "jest": {
"globals": { "globals": {

View File

@ -5,8 +5,8 @@
import path from "path" import path from "path"
const tmpdir = path.join(require("os").tmpdir(), ".budibase") const tmpdir = path.join(require("os").tmpdir(), ".budibase")
const SERVER_PORT = "41000" const SERVER_PORT = "4100"
const WORKER_PORT = "42000" const WORKER_PORT = "4200"
// @ts-ignore // @ts-ignore
process.env.BUDIBASE_API_KEY = "6BE826CB-6B30-4AEC-8777-2E90464633DE" process.env.BUDIBASE_API_KEY = "6BE826CB-6B30-4AEC-8777-2E90464633DE"