From 236d39427620ad6d498f4105f033ae82c5d8e273 Mon Sep 17 00:00:00 2001 From: Jan-Henrik Bruhn Date: Fri, 10 Oct 2025 12:02:09 +0200 Subject: [PATCH] fix: change folder location base path for imports to deploy --- index.html | 20 ++++++++++---------- vite.config.ts | 11 ++++++----- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/index.html b/index.html index 6fd70e7..a414702 100644 --- a/index.html +++ b/index.html @@ -1,13 +1,13 @@ - - - - - Constellation Analyzer - - -
- - + + + + + Constellation Analyzer + + +
+ + diff --git a/vite.config.ts b/vite.config.ts index 61b6a01..cf014ba 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,11 +1,12 @@ -import { defineConfig } from 'vite' -import react from '@vitejs/plugin-react' +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], + base: "./", server: { port: 3000, - open: true - } -}) + open: true, + }, +});