Serve plugin assets from the repository root in the dev server
This commit is contained in:
@@ -10,6 +10,8 @@ export default defineConfig(({ mode }) => {
|
||||
server: {
|
||||
host: "127.0.0.1",
|
||||
port: 5173,
|
||||
// Plugin pages and their assets live outside platform_web, so the dev server must serve the repository root too.
|
||||
fs: { allow: [".", ".."] },
|
||||
proxy: {
|
||||
"/api/v1": platformProxyTarget,
|
||||
"/healthz": platformProxyTarget
|
||||
|
||||
Reference in New Issue
Block a user