1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-03 13:10:04 +00:00

fix: update /logout route to /SASLogon/logout

This commit is contained in:
2022-06-22 00:24:41 +05:00
parent 1933be15c2
commit 65380be2f3
4 changed files with 11 additions and 11 deletions

View File

@@ -88,7 +88,7 @@ const AppContextProvider = (props: { children: ReactNode }) => {
}, [])
const logout = useCallback(() => {
axios.get('/logout').then(() => {
axios.get('/SASLogon/logout').then(() => {
setLoggedIn(false)
setUsername('')
setDisplayName('')