Skip to content

Commit 7dd139e

Browse files
committed
deploy: Fix BIT logo url
1 parent ada7b5c commit 7dd139e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

astro.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import tailwindcss from "@tailwindcss/vite";
44

55
// https://astro.build/config
66
export default defineConfig({
7-
site: "http://knbit.edu.pl",
7+
site: "http://knbit.edu.pl/website",
88
base: "/website",
99
vite: {
1010
plugins: [tailwindcss()],

src/components/BitTreeScene.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
let bitLogoModel: THREE.Group | null = null;
5151

5252
loader.load(
53-
"/models/bit.glb",
53+
`${import.meta.env.BASE_URL}/models/bit.glb`,
5454
(gltf) => {
5555
bitLogoModel = gltf.scene;
5656
bitLogoModel.rotation.x = -0.3;

0 commit comments

Comments
 (0)