[Build] Staging
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
GENERATE_SOURCEMAP=false
|
||||
|
||||
PORT=8083
|
||||
|
||||
REACT_APP_HOST_API_URL="http://localhost:8000"
|
||||
|
||||
VITE_API_URL="http://localhost:8000/api/internal"
|
||||
1
frontend/dashboard/.env.staging
Executable file
1
frontend/dashboard/.env.staging
Executable file
@@ -0,0 +1 @@
|
||||
VITE_API_URL="https://aso-api.linksehat.dev/api/internal"
|
||||
@@ -9,7 +9,7 @@
|
||||
"lint:fix": "eslint --fix --ext .ts,.tsx ./src",
|
||||
"start": "vite --port=3000",
|
||||
"build": "vite build --mode production && cp .htaccess build/.htaccess && rm -f -r ../../public/dashboard && cp -r build ../../public/dashboard",
|
||||
"build-two": "vite build --mode production",
|
||||
"build-staging": "vite build --mode staging && cp .htaccess build/.htaccess && rm -f -r ../../public/dashboard-staging && cp -r build ../../public/dashboard-staging",
|
||||
"serve": "vite preview",
|
||||
"clear-all": "rm -rf build node_modules",
|
||||
"re-start": "rm -rf build node_modules && yarn install && yarn start",
|
||||
|
||||
Reference in New Issue
Block a user