feat(client): match .freecodecamp.org for submissions (#45386)
This commit is contained in:
@ -5,7 +5,7 @@ import { Trans } from 'react-i18next';
|
|||||||
const editorRegex =
|
const editorRegex =
|
||||||
/repl\.?it(\.com)?\/(@|join\/)|glitch\.com\/edit\/#!|codesandbox\.io\/s\/|github\.com/;
|
/repl\.?it(\.com)?\/(@|join\/)|glitch\.com\/edit\/#!|codesandbox\.io\/s\/|github\.com/;
|
||||||
const fCCRegex =
|
const fCCRegex =
|
||||||
/codepen\.io\/freecodecamp|freecodecamp\.rocks|github\.com\/freecodecamp/i;
|
/codepen\.io\/freecodecamp|freecodecamp\.rocks|github\.com\/freecodecamp|\.freecodecamp\.org/i;
|
||||||
const localhostRegex = /localhost:/;
|
const localhostRegex = /localhost:/;
|
||||||
const httpRegex = /http(?!s|([^s]+?localhost))/;
|
const httpRegex = /http(?!s|([^s]+?localhost))/;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user