Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed Oct 5, 2023
1 parent a8d56c8 commit cd65b1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/src/core/adapters/oidc/oidc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export async function createOidc(params: {

await userManager.signinRedirectCallback();

window.location.replace(url);
window.history.pushState(null, "", url);
}

let currentAccessToken = (await userManager.getUser())?.access_token ?? "";
Expand Down
2 changes: 1 addition & 1 deletion web/src/ui/pages/home/route.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { createRouter, defineRoute, createGroup, type Route } from "type-route";

export const routeDefs = {
"home": defineRoute(["/home", "/", "/accueil"])
"home": defineRoute(["/", "/home", "/accueil"])
};

export const routeGroup = createGroup(Object.values(createRouter(routeDefs).routes));
Expand Down

0 comments on commit cd65b1a

Please sign in to comment.