mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-11 16:09:39 +00:00
nit logout
This commit is contained in:
@@ -18,8 +18,11 @@
|
||||
return
|
||||
}
|
||||
|
||||
console.log('logout 4', rd)
|
||||
goto(rd ?? '/user/login')
|
||||
if (rd?.startsWith('https://') || rd?.startsWith('http://')) {
|
||||
window.location.href = rd
|
||||
} else {
|
||||
goto(rd ?? '/user/login')
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user