diff --git a/adapters/static/vite.config.ts b/adapters/static/vite.config.ts index f3e07cd..2bedcc5 100644 --- a/adapters/static/vite.config.ts +++ b/adapters/static/vite.config.ts @@ -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/" }), ], }; diff --git a/src/entry.ssr.tsx b/src/entry.ssr.tsx index e3de501..fbd0cf0 100644 --- a/src/entry.ssr.tsx +++ b/src/entry.ssr.tsx @@ -21,6 +21,7 @@ export default function (opts: RenderToStreamOptions) { return renderToStream(, { manifest, ...opts, + base: "/tools/build/", // Use container attributes to set attributes on the html tag. containerAttributes: { lang: "en-us", diff --git a/src/routes/index.tsx b/src/routes/index.tsx index 12bb3aa..394a082 100644 --- a/src/routes/index.tsx +++ b/src/routes/index.tsx @@ -5,18 +5,18 @@ import Calculator from "~/components/router-head/calculator"; export default component$(() => { return ( <> -

Bytewise calculator

+

Binary calculator

); }); export const head: DocumentHead = { - title: "Bytewise Calculator", + title: "Binary Calculator", meta: [ { name: "description", - content: "Calculator for bytewise operations", - }, + content: "Calculator for binary operations", + } ], };