env upload

This commit is contained in:
Peter Hoppe
2022-12-30 13:00:38 +01:00
parent 77c125a0c5
commit cc017bd508
12 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View File

@ -13,7 +13,6 @@
# misc # misc
.DS_Store .DS_Store
.env.local
.env.development.local .env.development.local
.env.test.local .env.test.local
.env.production.local .env.production.local

View File

@ -25,6 +25,8 @@
"build": "react-scripts build", "build": "react-scripts build",
"test": "react-scripts test", "test": "react-scripts test",
"eject": "react-scripts eject", "eject": "react-scripts eject",
"build:local": "env-cmd -f .env.local npm run build",
"build:hope-fly": "env-cmd -f .env.hope-fly npm run build",
"postbuild": "cp ./src/.htaccess ./build/ && sudo cp -r -v ./build/static/ /opt/lampp/htdocs/dog/ && sudo cp -v ./build/* /opt/lampp/htdocs/dog/" "postbuild": "cp ./src/.htaccess ./build/ && sudo cp -r -v ./build/static/ /opt/lampp/htdocs/dog/ && sudo cp -v ./build/* /opt/lampp/htdocs/dog/"
}, },
"eslintConfig": { "eslintConfig": {

View File

@ -77,8 +77,8 @@ export const UserCtx = createContext<UserCtxT | null>(null);
export const Axios = axios.create({ export const Axios = axios.create({
// baseURL: 'http://localhost/dog/php-dog/', // baseURL: 'http://localhost/dog/php-dog/',
baseURL: 'https://hope-fly.de/dog/php-dog/', // baseURL: 'https://hope-fly.de/dog/php-dog/',
// baseURL: process.env.REACT_APP_PHP_ROOT, baseURL: process.env.REACT_APP_PHP_ROOT,
}); });
export const UserCtxProvider = ({children}:TUserContextProviderProps) => { export const UserCtxProvider = ({children}:TUserContextProviderProps) => {

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB