Skip to content

Commit

Permalink
chore: always clean the URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Slysoks authored Sep 27, 2024
1 parent fb2f6cd commit 3f4a124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/pronote/determinate-authentication-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ const determinateAuthenticationView = async <ScreenName extends keyof RouteParam
let instance: pronote.Instance | undefined;
if (!pronoteURL.startsWith("https://") && !pronoteURL.startsWith("http://")) {
pronoteURL = `https://${pronoteURL}`;
pronoteURL = pronote.cleanURL(pronoteURL);
}
pronoteURL = pronote.cleanURL(pronoteURL);

try {
instance = await pronote.instance(pronoteURL);
Expand Down

0 comments on commit 3f4a124

Please sign in to comment.