fix: sempre problemi con BASE_URL
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ import { UserPage } from './pages/UserPage'
|
||||
|
||||
export const App = ({ url }: { url?: string }) => {
|
||||
// during server side rendering don't prepend the BASE_URL
|
||||
const pbu = useContext(ServerContext) ? (s: string) => s : prependBaseUrl
|
||||
const pbu = prependBaseUrl
|
||||
|
||||
const handleRouteChange = () => {
|
||||
// @ts-ignore
|
||||
|
||||
Reference in New Issue
Block a user