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