We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ada7b5c commit 7dd139eCopy full SHA for 7dd139e
2 files changed
astro.config.mjs
@@ -4,7 +4,7 @@ import tailwindcss from "@tailwindcss/vite";
4
5
// https://astro.build/config
6
export default defineConfig({
7
- site: "http://knbit.edu.pl",
+ site: "http://knbit.edu.pl/website",
8
base: "/website",
9
vite: {
10
plugins: [tailwindcss()],
src/components/BitTreeScene.astro
@@ -50,7 +50,7 @@
50
let bitLogoModel: THREE.Group | null = null;
51
52
loader.load(
53
- "/models/bit.glb",
+ `${import.meta.env.BASE_URL}/models/bit.glb`,
54
(gltf) => {
55
bitLogoModel = gltf.scene;
56
bitLogoModel.rotation.x = -0.3;
0 commit comments