fix: add location middleware to get exact host

This commit is contained in:
Lakhan Samani
2021-08-04 15:55:13 +05:30
parent f88363e6dc
commit 104adfea1d
21 changed files with 102 additions and 70 deletions

View File

@@ -6,7 +6,7 @@ import Login from './pages/login';
import ResetPassword from './pages/rest-password';
export default function Root() {
const { token, loading } = useAuthorizer();
const { token, loading, config } = useAuthorizer();
if (loading) {
return <h1>Loading...</h1>;