diff --git a/src/components/JudgeInterface/JudgeInterface.tsx b/src/components/JudgeInterface/JudgeInterface.tsx index dcb4a98..0f8ebb6 100644 --- a/src/components/JudgeInterface/JudgeInterface.tsx +++ b/src/components/JudgeInterface/JudgeInterface.tsx @@ -8,12 +8,11 @@ import USACOResults from './USACOResults'; import { ProblemData, StatusData } from '../Workspace/Workspace'; import SubmitButton from './SubmitButton'; import { PlayCircleIcon } from '@heroicons/react/20/solid'; -import { useUserContext } from '../../context/UserContext'; import { useEditorContext } from '../../context/EditorContext'; export const judgePrefix = - process.env.NODE_ENV === 'development' && false // note: having this as localhost:5000 will break testing - ? 'http://localhost:5000' + process.env.NODE_ENV === 'development' && true // note: having this as localhost:5000 will break testing + ? 'http://localhost:8080' : 'https://vjudge.usaco.guide'; function encode(str: string | null) { @@ -100,9 +99,15 @@ export default function JudgeInterface({
- Early access. Report issues to Github. Do not spam submit. - {/* Note: You will not be able to submit to a problem in an active contest. */} - {/* ^ is this necessary? */} + {/* Early access. Report issues to Github. Do not spam submit. */} + Note: USACO problem submission{' '} + + is broken + + . Unfortunately, we don't know when this will be fixed.
<>@@ -154,7 +159,7 @@ export default function JudgeInterface({