diff --git a/app/pods/components/intermediate-contest-view/component.js b/app/pods/components/intermediate-contest-view/component.js index 72f3a8b..2768499 100644 --- a/app/pods/components/intermediate-contest-view/component.js +++ b/app/pods/components/intermediate-contest-view/component.js @@ -117,6 +117,6 @@ export default class IntermediateContestComponent extends Component { } @action async openTestInNewWindow() { - window.open(`${ENV.publicUrl}contests/${this.contest.id}/attempt/`, 'popup') + window.open(`${ENV.publicUrl}/contests/${this.contest.id}/attempt/`, 'popup') } } diff --git a/app/pods/contests/contest/index/controller.js b/app/pods/contests/contest/index/controller.js index 714e09d..16de815 100644 --- a/app/pods/contests/contest/index/controller.js +++ b/app/pods/contests/contest/index/controller.js @@ -62,6 +62,6 @@ export default class IndexController extends Controller { } @action onAfterCreate() { - window.open(`${ENV.publicUrl}contests/${this.contest.id}/attempt/`, 'popup') + window.open(`${ENV.publicUrl}/contests/${this.contest.id}/attempt/`, 'popup') } }