From cd665fa5f4cf8909af6059d06731605717792725 Mon Sep 17 00:00:00 2001 From: James Lyne Date: Sun, 16 May 2021 00:08:37 +0100 Subject: [PATCH] Use relative paths for assets --- index.html | 2 +- vite.config.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index db9ee1e..fe74d51 100644 --- a/index.html +++ b/index.html @@ -171,7 +171,7 @@
- + diff --git a/vite.config.ts b/vite.config.ts index 760df87..e3f3bf5 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -7,6 +7,7 @@ export default defineConfig({ plugins: [vue(), svgSpritePlugin({ symbolId: (name) => name, })], + base: './', server: { port: 8080 },