change base uri

This commit is contained in:
Simon 2025-10-09 18:29:04 +02:00
parent ba7d05a1d3
commit 453d5b5723
3 changed files with 8 additions and 6 deletions

View File

@ -9,11 +9,12 @@ export default extendConfig(baseConfig, () => {
rollupOptions: { rollupOptions: {
input: ["@qwik-city-plan"], input: ["@qwik-city-plan"],
}, },
base: "/bitwise_calculator/" base: "/tools/build/"
}, },
plugins: [ plugins: [
staticAdapter({ staticAdapter({
origin: "https://datavalley-ctf.de/bitwise_calculator/", origin: "https://datavalley-ctf.de/tools/build/",
base: "/tools/build/"
}), }),
], ],
}; };

View File

@ -21,6 +21,7 @@ export default function (opts: RenderToStreamOptions) {
return renderToStream(<Root />, { return renderToStream(<Root />, {
manifest, manifest,
...opts, ...opts,
base: "/tools/build/",
// Use container attributes to set attributes on the html tag. // Use container attributes to set attributes on the html tag.
containerAttributes: { containerAttributes: {
lang: "en-us", lang: "en-us",

View File

@ -5,18 +5,18 @@ import Calculator from "~/components/router-head/calculator";
export default component$(() => { export default component$(() => {
return ( return (
<> <>
<h1>Bytewise calculator</h1> <h1>Binary calculator</h1>
<Calculator></Calculator> <Calculator></Calculator>
</> </>
); );
}); });
export const head: DocumentHead = { export const head: DocumentHead = {
title: "Bytewise Calculator", title: "Binary Calculator",
meta: [ meta: [
{ {
name: "description", name: "description",
content: "Calculator for bytewise operations", content: "Calculator for binary operations",
}, }
], ],
}; };