A focused Docker Compose management web application.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: build not working

Brooke 298456b3 7d130a9f

+12 -12
+5 -1
justfile
··· 15 15 build: 16 16 pnpm build 17 17 cargo build --release 18 - cp -R packages/panel/build target/release/static 18 + rm -R target/release/static; cp -R packages/panel/build target/release/static 19 + 20 + [working-directory('target/release')] 21 + preview: 22 + ./luminary-node 19 23 20 24 export DATABASE_URL := "sqlite://" + justfile_dir() + "/luminary.db" 21 25
+1 -1
packages/node/src/api/mod.rs
··· 93 93 ), 94 94 ), 95 95 ) 96 - .push(Router::with_path("{*path}").get(StaticDir::new(["static"]).defaults("fallback.html"))); 96 + .push(Router::with_path("{*path}").get(StaticDir::new(["static"]).fallback("index.html"))); 97 97 } 98 98 99 99 /// A simple endpoint to test if the server is running.
+3 -3
packages/panel/src/routes/(authenticated)/Navbar.svelte
··· 41 41 42 42 let navbarWidth = $state(0); 43 43 44 - let returnable = $derived(page.url.pathname.split("/").length > 2); 44 + let returnable = $derived(page.url.pathname.split("/").length > 3); 45 45 46 46 function toggleExpanded() { 47 47 expanded = !expanded; ··· 89 89 <Fa icon={open ? faXmark : faBars} /> 90 90 </button> 91 91 {#if returnable} 92 - <a href="./"> 92 + <a href="../"> 93 93 <Fa icon={faChevronLeft} /> 94 94 </a> 95 95 {:else} ··· 119 119 120 120 <div class="flexc gap-20 full"> 121 121 {#if returnable && !isMobile()} 122 - <a href="./"><Fa icon={faChevronLeft} /> Back</a> 122 + <a href="../"><Fa icon={faChevronLeft} /> Back</a> 123 123 {/if} 124 124 <main class="full"> 125 125 {@render children()}
+2 -1
packages/panel/src/routes/+layout.ts
··· 1 - export const prerender = true; 1 + export const trailingSlash = "always"; 2 + export const prerender = false; 2 3 export const ssr = false;
+1 -6
packages/panel/svelte.config.js
··· 3 3 4 4 /** @type {import('@sveltejs/kit').Config} */ 5 5 const config = { 6 - // Consult https://svelte.dev/docs/kit/integrations 7 - // for more information about preprocessors 8 6 preprocess: vitePreprocess(), 9 7 10 8 kit: { 11 - // adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list. 12 - // If your environment is not supported, or you settled on a specific environment, switch out the adapter. 13 - // See https://svelte.dev/docs/kit/adapters for more information about adapters. 14 - adapter: adapter({ fallback: "fallback.html" }), 9 + adapter: adapter({ fallback: "index.html", precompress: true }), 15 10 }, 16 11 }; 17 12