Skip to content

Commit

Permalink
fix: use backend url for redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
sverben committed Dec 24, 2024
1 parent 49ea07b commit 8000a96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/components/core/popups/popups/Recording.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function onsubmit(event: SubmitEvent) {
</div>
</form>
{:else}
<form action="https://leaphyeasybloqs.com" class="content">
<form action={import.meta.env.VITE_BACKEND_URL} class="content">
<h2>{$_("PROJECT_SUBMISSIONS_CLOSED")}</h2>
<p class="description">{$_("SUBMISSIONS_CLOSED_DESCRIPTION")}</p>
<div class="actions">
Expand Down
2 changes: 1 addition & 1 deletion src/lib/state/popup.svelte.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class PopupsState {
);
config = await res.json();
} catch (e) {
window.location.replace("https://leaphyeasybloqs.com");
window.location.replace(import.meta.env.VITE_BACKEND_URL);
return;
}

Expand Down

0 comments on commit 8000a96

Please sign in to comment.