Skip to content

Commit

Permalink
Add support for m1/m2/m3.codeforces.com (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
rewhile authored May 11, 2024
1 parent 4d423b8 commit 64c6863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export const isValidLanguage = (srcPath: string): boolean => {
};

export const isCodeforcesUrl = (url: URL): boolean => {
return url.hostname === 'codeforces.com';
return url.hostname.includes('codeforces.com');
};

export const ocAppend = (string: string) => {
Expand Down

0 comments on commit 64c6863

Please sign in to comment.