[Build] Staging - Hospital Portal
This commit is contained in:
4
frontend/hospital-portal/.env.staging
Normal file
4
frontend/hospital-portal/.env.staging
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
REACT_APP_HOST_API_URL="http://localhost:8000"
|
||||
|
||||
VITE_API_URL="https://aso.linksehat.dev/api/hospitalportal"
|
||||
@@ -8,8 +8,8 @@
|
||||
"lint": "eslint --ext .ts,.tsx ./src",
|
||||
"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-staging": "vite build --mode staging && cp .htaccess build/.htaccess && rm -f -r @/public/dashboard-staging && cp -r build @/public/dashboard-staging",
|
||||
"build": "vite build --mode production && cp .htaccess build/.htaccess && rm -f -r ../../public/hospital-portal && cp -r build ../../public/hospital-portal",
|
||||
"build-staging": "vite build --mode staging && cp .htaccess build/.htaccess && rm -f -r ../../public/hospital-portal-staging && cp -r build ../../public/hospital-portal-staging",
|
||||
"serve": "vite preview",
|
||||
"clear-all": "rm -rf build node_modules",
|
||||
"re-start": "rm -rf build node_modules && yarn install && yarn start",
|
||||
|
||||
@@ -39,7 +39,7 @@ export default function LoginForm() {
|
||||
});
|
||||
|
||||
const defaultValues = {
|
||||
email: 'admin@linksehat.dev',
|
||||
email: 'hospitaladmin@gmail.com',
|
||||
password: 'password',
|
||||
remember: true,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user