fix: display public routes with header proxy auth
This commit is contained in:
parent
0d179eca4d
commit
da54bd6c21
|
@ -10,11 +10,15 @@ import App from "@/App";
|
||||||
sync(store, router);
|
sync(store, router);
|
||||||
|
|
||||||
async function start() {
|
async function start() {
|
||||||
|
try {
|
||||||
if (loginPage) {
|
if (loginPage) {
|
||||||
await validateLogin();
|
await validateLogin();
|
||||||
} else {
|
} else {
|
||||||
await login("", "", "");
|
await login("", "", "");
|
||||||
}
|
}
|
||||||
|
} catch (e) {
|
||||||
|
console.log(e);
|
||||||
|
}
|
||||||
|
|
||||||
if (recaptcha) {
|
if (recaptcha) {
|
||||||
await new Promise((resolve) => {
|
await new Promise((resolve) => {
|
||||||
|
|
Loading…
Reference in New Issue