mirror of
https://github.com/WGDashboard/WGDashboard-PRW.git
synced 2026-08-04 06:52:58 +00:00
chore: rework api endpoints
This commit is contained in:
@@ -64,7 +64,7 @@ router.beforeEach(async (to, from, next) => {
|
||||
store.newNotification("Sign in session ended, please sign in again", "warning")
|
||||
}else{
|
||||
if (to.meta.auth){
|
||||
const status = await axiosGet('/api/validateAuthentication')
|
||||
const status = await axiosGet('/api/auth/validate')
|
||||
if (status){
|
||||
next()
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user