bugfix: images only rendering hen running in dev mode

This commit is contained in:
Michael Shanks 2020-02-27 11:55:00 +00:00
parent ea9830e025
commit d7ac067a3c
3 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@ const _builderProxy = proxy("/_builder", {
pathRewrite: { "^/_builder": "" },
})
const apiProxy = proxy(["/_builder/api/**", "/_builder/**/componentlibrary"], {
const apiProxy = proxy(["/_builder/assets/**", "/_builder/api/**", "/_builder/**/componentlibrary"], {
target,
logLevel: "debug",
changeOrigin: true,

View File

@ -10,7 +10,7 @@
<div class="top-nav">
<button class="home-logo">
<img src="/assets/budibase-logo-only.png" />
<img src="/_builder/assets/budibase-logo-only.png" />
</button>
<!-- <IconButton icon="home"
color="var(--slate)"

View File

@ -6,8 +6,8 @@ import "/assets/roboto-v20-latin-ext_latin-400"
import "/assets/roboto-v20-latin-ext_latin-500"
import "/assets/roboto-v20-latin-ext_latin-700"
import "/assets/roboto-v20-latin-ext_latin-900"
import "/assets/budibase-logo.png"
import "/assets/budibase-logo-only.png"
import "/_builder/assets/budibase-logo.png"
import "/_builder/assets/budibase-logo-only.png"
import "uikit/dist/css/uikit.min.css"
import "uikit/dist/js/uikit.min.js"
import "codemirror/lib/codemirror.css"