mirror of
https://github.com/outline/outline.git
synced 2025-04-10 03:03:45 +00:00
fix: Add /logout route to those that cannot be redirected after login
This commit is contained in:
@ -14,7 +14,7 @@ import { client } from "~/utils/ApiClient";
|
||||
import Desktop from "~/utils/Desktop";
|
||||
|
||||
const AUTH_STORE = "AUTH_STORE";
|
||||
const NO_REDIRECT_PATHS = ["/", "/create", "/home"];
|
||||
const NO_REDIRECT_PATHS = ["/", "/create", "/home", "/logout"];
|
||||
|
||||
type PersistedData = {
|
||||
user?: User;
|
||||
|
Reference in New Issue
Block a user