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: {
input: ["@qwik-city-plan"],
},
base: "/bitwise_calculator/"
base: "/tools/build/"
},
plugins: [
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 />, {
manifest,
...opts,
base: "/tools/build/",
// Use container attributes to set attributes on the html tag.
containerAttributes: {
lang: "en-us",

View File

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