env upload
1
.gitignore
vendored
@ -13,7 +13,6 @@
|
||||
|
||||
# misc
|
||||
.DS_Store
|
||||
.env.local
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
|
||||
@ -25,6 +25,8 @@
|
||||
"build": "react-scripts build",
|
||||
"test": "react-scripts test",
|
||||
"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/"
|
||||
},
|
||||
"eslintConfig": {
|
||||
|
||||
@ -77,8 +77,8 @@ export const UserCtx = createContext<UserCtxT | null>(null);
|
||||
|
||||
export const Axios = axios.create({
|
||||
// baseURL: 'http://localhost/dog/php-dog/',
|
||||
baseURL: 'https://hope-fly.de/dog/php-dog/',
|
||||
// baseURL: process.env.REACT_APP_PHP_ROOT,
|
||||
// baseURL: 'https://hope-fly.de/dog/php-dog/',
|
||||
baseURL: process.env.REACT_APP_PHP_ROOT,
|
||||
});
|
||||
|
||||
export const UserCtxProvider = ({children}:TUserContextProviderProps) => {
|
||||
|
||||
BIN
uploads/17dg43/0GH7skrnnzBYUDuIIybR.png
Executable file
|
After Width: | Height: | Size: 7.0 KiB |
BIN
uploads/17dg43/GmFlF0nh7GU02wNuIFcX.jpg
Executable file
|
After Width: | Height: | Size: 5.1 MiB |
BIN
uploads/YQiwEB/8w0iUcSKM0bvSmC8i6cL.png
Executable file
|
After Width: | Height: | Size: 49 KiB |
BIN
uploads/YQiwEB/PbygxRtUBkhQrekdIdER.png
Executable file
|
After Width: | Height: | Size: 6.6 KiB |
BIN
uploads/m7MdMK/7a0LA4ZlWVXYhPArDRU8.png
Executable file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
uploads/m7MdMK/eywPirFAyg9jSIvoK4KZ.jpg
Executable file
|
After Width: | Height: | Size: 76 KiB |
BIN
uploads/m7MdMK/eywPirFAyg9jSIvoK4KZ_.jpg
Executable file
|
After Width: | Height: | Size: 142 KiB |