Skip to content

Commit

Permalink
fix(Root): fixed Invalid URL error
Browse files Browse the repository at this point in the history
  • Loading branch information
Truiteseche committed Jan 7, 2024
1 parent 019e6a0 commit b283b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Root.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export default function Root({ currentEDPVersion, token, accountsList, fakeLogin
console.log("isVerifiedOrigin:", isVerifiedOrigin);
if (isVerifiedOrigin || isStandaloneApp) {
console.log("verified origin");
entryURL.current = "/";
entryURL.current = window.location.origin;

if (window.location.hostname === "dev.ecole-directe.plus") {
globalSettings.isDevChannel.set(true);
Expand Down

0 comments on commit b283b1d

Please sign in to comment.