HTML Editor go on
This commit is contained in:
@@ -49,7 +49,7 @@ export function UseAxios(router: any) { // VueRouter
|
||||
|
||||
if (response) {
|
||||
if (response.status === 401 && handle(response.status, exclude)) {
|
||||
const location: string = response.headers.location || response.headers.Location
|
||||
const location: string | undefined = response.headers.location || response.headers.Location
|
||||
|
||||
if (location) {
|
||||
const redirectTo = `/${location}`
|
||||
|
||||
Reference in New Issue
Block a user