From a92a67c8a74e40cf4e2611079eb80149e45d9df6 Mon Sep 17 00:00:00 2001 From: Mabe Date: Sun, 21 Jun 2026 16:47:18 +0200 Subject: [PATCH] fix: update script source path in index.html and set root directory in vite.config.ts --- frontend/src/index.html | 2 +- frontend/vite.config.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/index.html b/frontend/src/index.html index cec90d8..f6322fc 100644 --- a/frontend/src/index.html +++ b/frontend/src/index.html @@ -7,6 +7,6 @@
- + diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index e5197df..ac422a7 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -2,6 +2,8 @@ import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' export default defineConfig({ + // Serve files from the `src` directory (index.html lives in src) + root: 'src', plugins: [react()], server: { host: '0.0.0.0',