From 9aaca449f8ff69ed1b9ae82c421deec1ebbe9b35 Mon Sep 17 00:00:00 2001 From: James Hillyerd Date: Sun, 22 May 2022 21:34:44 -0700 Subject: [PATCH] Fix non-root basepaths, closes #273 --- ui/package.json | 2 +- ui/src/index-dev.html | 3 +++ ui/src/index.html | 3 +++ ui/src/index.js | 3 --- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ui/package.json b/ui/package.json index 68235b0..e55bd41 100644 --- a/ui/package.json +++ b/ui/package.json @@ -4,7 +4,7 @@ "license": "MIT", "private": true, "scripts": { - "build": "parcel build", + "build": "parcel build --public-url ./", "start": "parcel --hmr-port 1235 src/index-dev.html", "clean": "rm -rf .parcel-cache dist elm-stuff" }, diff --git a/ui/src/index-dev.html b/ui/src/index-dev.html index cc905a1..5bdefef 100644 --- a/ui/src/index-dev.html +++ b/ui/src/index-dev.html @@ -10,6 +10,9 @@ + + + Inbucket diff --git a/ui/src/index.html b/ui/src/index.html index 6aa90ef..f544be2 100644 --- a/ui/src/index.html +++ b/ui/src/index.html @@ -9,6 +9,9 @@ + + + Inbucket diff --git a/ui/src/index.js b/ui/src/index.js index be5eb29..e12d79d 100644 --- a/ui/src/index.js +++ b/ui/src/index.js @@ -1,6 +1,3 @@ -import './main.css' -import './mailbox.css' -import './navbar.css' import '@fortawesome/fontawesome-free/css/all.css' import '@webcomponents/webcomponentsjs/webcomponents-bundle' import 'opensans-npm-webfont'