diff --git a/.env b/.env index 3fce25c..8b0c925 100644 --- a/.env +++ b/.env @@ -1,2 +1,4 @@ REACT_APP_IDENTITY_AUTHENTICATION_URL=https://toodle.ddns.net/identity-server-api/identity/authenticate?UserName={username}&Password={password} -REACT_APP_ENABLE_TEMPLATE_CONTENT=True \ No newline at end of file +REACT_APP_ENABLE_TEMPLATE_CONTENT=True + +#PUBLIC_URL=/cdn-admin/ \ No newline at end of file diff --git a/src/components/App.js b/src/components/App.js index 67f1fd7..9b60287 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -1,5 +1,5 @@ import React, { useEffect } from "react"; -import { HashRouter, Route, Switch, Redirect } from "react-router-dom"; +import { BrowserRouter, Route, Switch, Redirect } from "react-router-dom"; // components import Layout from "./Layout/Layout"; @@ -24,14 +24,14 @@ export default function App() { }, [messageCode, t, notify]); return ( - + } /> - + ); function PrivateRoute({ component, ...rest }) {