This commit is contained in:
2022-12-26 23:56:36 +01:00
parent c894022b31
commit 0187c464db
15 changed files with 204 additions and 6 deletions

View File

@ -74,8 +74,9 @@ export type UserCtxT =
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: 'http://localhost/dog/php-dog/',
baseURL: 'https://hope-fly.de/dog/php-dog/',
// baseURL: process.env.REACT_APP_PHP_ROOT,
});
export const UserCtxProvider = ({children}:TUserContextProviderProps) => {