From a872b22feb731c90b64802acd2cb0f725752df77 Mon Sep 17 00:00:00 2001 From: Jaro Habiger Date: Sat, 7 Oct 2023 17:14:35 +0200 Subject: [PATCH] fix hosting under non root --- index.html | 10 +++++----- vite.config.js | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 83db32b..1914fc1 100644 --- a/index.html +++ b/index.html @@ -4,14 +4,14 @@ transcribee 🐝 - - + + - - + +
- + diff --git a/vite.config.js b/vite.config.js index fb16d69..260c106 100644 --- a/vite.config.js +++ b/vite.config.js @@ -47,6 +47,7 @@ function faviconPlugin(originalPath) { // eslint-disable-next-line import/no-default-export export default defineConfig({ + base: '', // this fixes hosting under non root locations plugins: [ faviconPlugin('./src/assets/transcribee-logo.svg'), ],