Refactor environment variable declarations and update asset references in SvelteKit project. Removed unused variables and updated client entry points and stylesheets for improved performance.
CI / build (push) Has been skipped
CI / deploy (push) Successful in 1m40s

This commit is contained in:
eewing
2026-02-17 14:45:13 -06:00
parent 6cc5928770
commit cff20a652a
277 changed files with 1358 additions and 5724 deletions
-18
View File
@@ -1,18 +0,0 @@
{
"/": [
"src/routes/+layout.ts",
"src/routes/+layout.ts"
],
"/items": [
"src/routes/items/+page.server.ts",
"src/routes/+layout.ts"
],
"/login": [
"src/routes/login/+page.server.ts",
"src/routes/+layout.ts"
],
"/logout": [
"src/routes/logout/+page.server.ts",
"src/routes/+layout.ts"
]
}
-18
View File
@@ -1,18 +0,0 @@
{
"/": [
"src/routes/+layout.ts",
"src/routes/+layout.ts"
],
"/items": [
"src/routes/items/+page.server.ts",
"src/routes/+layout.ts"
],
"/login": [
"src/routes/login/+page.server.ts",
"src/routes/+layout.ts"
],
"/logout": [
"src/routes/logout/+page.server.ts",
"src/routes/+layout.ts"
]
}
@@ -4,8 +4,8 @@ import type { Actions, PageServerLoad } from "./$types";
function safeRedirectTo(searchParams: URLSearchParams): string {
const to = searchParams.get("redirectTo");
if (!to || typeof to !== "string") return "/";
if (!to.startsWith("/") || to.startsWith("//")) return "/";
if (!to || typeof to !== "string") return "/items";
if (!to.startsWith("/") || to.startsWith("//")) return "/items";
return to;
}