change base uri
This commit is contained in:
parent
ba7d05a1d3
commit
453d5b5723
@ -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/"
|
||||
}),
|
||||
],
|
||||
};
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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",
|
||||
}
|
||||
],
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user