cleanup
CI / Frontend (push) Successful in 11m7s
CI / Go - apps/auth-service (push) Failing after 8s
CI / Go - apps/backend (push) Failing after 2s
CI / Docker publish - auth-service (push) Has been skipped
CI / Docker publish - backend (push) Has been skipped

This commit is contained in:
Tomas Dvorak
2026-05-05 09:48:15 +02:00
parent 48c3e15a38
commit cf3315e8fc
155 changed files with 70334 additions and 19015 deletions
+13 -2
View File
@@ -1,4 +1,10 @@
import { For, Show, createResource, createSignal, createMemo, createEffect, onMount } from "solid-js";
import {
Show,
createResource,
createSignal,
createMemo,
createEffect
} from "solid-js";
import { A, useSearchParams } from "@solidjs/router";
import { apiClient } from "../lib/api-client";
import { getPaddle, paddleConfigured } from "../lib/paddle";
@@ -731,7 +737,12 @@ export function DashboardRoute() {
setBillingError(i18n.locale() === "cs" ? "Paddle portál není připraven." : "Paddle portal is not ready.");
return;
}
window.location.href = response.data.url;
const portalUrl = response.data.url;
if (!portalUrl.startsWith("https://")) {
setBillingError(i18n.locale() === "cs" ? "Neplatný portál URL." : "Invalid portal URL.");
return;
}
window.location.href = portalUrl;
};
createEffect(() => {