bugfix: images only rendering hen running in dev mode
This commit is contained in:
parent
ea9830e025
commit
d7ac067a3c
|
@ -16,7 +16,7 @@ const _builderProxy = proxy("/_builder", {
|
||||||
pathRewrite: { "^/_builder": "" },
|
pathRewrite: { "^/_builder": "" },
|
||||||
})
|
})
|
||||||
|
|
||||||
const apiProxy = proxy(["/_builder/api/**", "/_builder/**/componentlibrary"], {
|
const apiProxy = proxy(["/_builder/assets/**", "/_builder/api/**", "/_builder/**/componentlibrary"], {
|
||||||
target,
|
target,
|
||||||
logLevel: "debug",
|
logLevel: "debug",
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
<div class="top-nav">
|
<div class="top-nav">
|
||||||
<button class="home-logo">
|
<button class="home-logo">
|
||||||
<img src="/assets/budibase-logo-only.png" />
|
<img src="/_builder/assets/budibase-logo-only.png" />
|
||||||
</button>
|
</button>
|
||||||
<!-- <IconButton icon="home"
|
<!-- <IconButton icon="home"
|
||||||
color="var(--slate)"
|
color="var(--slate)"
|
||||||
|
|
|
@ -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-500"
|
||||||
import "/assets/roboto-v20-latin-ext_latin-700"
|
import "/assets/roboto-v20-latin-ext_latin-700"
|
||||||
import "/assets/roboto-v20-latin-ext_latin-900"
|
import "/assets/roboto-v20-latin-ext_latin-900"
|
||||||
import "/assets/budibase-logo.png"
|
import "/_builder/assets/budibase-logo.png"
|
||||||
import "/assets/budibase-logo-only.png"
|
import "/_builder/assets/budibase-logo-only.png"
|
||||||
import "uikit/dist/css/uikit.min.css"
|
import "uikit/dist/css/uikit.min.css"
|
||||||
import "uikit/dist/js/uikit.min.js"
|
import "uikit/dist/js/uikit.min.js"
|
||||||
import "codemirror/lib/codemirror.css"
|
import "codemirror/lib/codemirror.css"
|
||||||
|
|
Loading…
Reference in New Issue