1
0

ketr.test config

Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
This commit is contained in:
James Ketrenos 2022-03-12 12:47:04 -08:00
parent 347d21e5ae
commit 33e16ac17a
5 changed files with 6 additions and 6 deletions

4
.env
View File

@ -1,2 +1,2 @@
REACT_APP_basePath="/ketr.ketran" REACT_APP_basePath="/ketr.test"
NODE_CONFIG_ENV='production' NODE_CONFIG_ENV='production'

View File

@ -1,3 +1,3 @@
PUBLIC_URL=/ketr.ketran PUBLIC_URL=/ketr.test
HOST=nuc.ketrenos.com HOST=nuc.ketrenos.com
DANGEROUSLY_DISABLE_HOST_CHECK='true' DANGEROUSLY_DISABLE_HOST_CHECK='true'

View File

@ -2,7 +2,7 @@
"name": "peddlers-of-ketran", "name": "peddlers-of-ketran",
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"proxy": "http://localhost:8930", "proxy": "http://localhost:8931",
"dependencies": { "dependencies": {
"@emotion/react": "^11.8.1", "@emotion/react": "^11.8.1",
"@emotion/styled": "^11.8.1", "@emotion/styled": "^11.8.1",

View File

@ -6,7 +6,7 @@ module.exports = function(app) {
app.use(createProxyMiddleware( app.use(createProxyMiddleware(
`${base}/api/v1/games/ws`, { `${base}/api/v1/games/ws`, {
ws: true, ws: true,
target: 'http://localhost:8930', target: 'http://localhost:8931',
changeOrigin: true, changeOrigin: true,
})); }));
}; };

View File

@ -14,7 +14,7 @@
} }
}, },
"server": { "server": {
"port": 8930 "port": 8931
}, },
"frontendPath": "./", "frontendPath": "./",
"basePath": "/", "basePath": "/",