Get static content showing on sync
This commit is contained in:
parent
b919472f42
commit
b658e28f2e
3 changed files with 7 additions and 9 deletions
|
|
@ -16,9 +16,6 @@ import "@/gen/custom-icons.scss";
|
|||
import * as bootstrap from "bootstrap";
|
||||
window.bootstrap = bootstrap;
|
||||
|
||||
// Make SSEManager available to all the JavaScript
|
||||
window.SSEManager = SSEManager;
|
||||
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
SSEManager.connect("/api/events");
|
||||
SSEManager.subscribe((msg: SSEMessage) => {
|
||||
|
|
|
|||
1
vite/sync/static
Symbolic link
1
vite/sync/static
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../static
|
||||
|
|
@ -66,27 +66,27 @@ export default defineConfig({
|
|||
port: 9000,
|
||||
proxy: {
|
||||
"/api": {
|
||||
target: "http://127.0.0.1:9002",
|
||||
target: "http://127.0.0.1:9003",
|
||||
changeOrigin: false,
|
||||
},
|
||||
"/configuration/upload/pool/flyover": {
|
||||
target: "http://127.0.0.1:9002",
|
||||
target: "http://127.0.0.1:9003",
|
||||
changeOrigin: false,
|
||||
},
|
||||
"/mailer": {
|
||||
target: "http://127.0.0.1:9002",
|
||||
target: "http://127.0.0.1:9003",
|
||||
changeOrigin: false,
|
||||
},
|
||||
"/qr-code": {
|
||||
target: "http://127.0.0.1:9002",
|
||||
target: "http://127.0.0.1:9003",
|
||||
changeOrigin: false,
|
||||
},
|
||||
"/signin": {
|
||||
target: "http://localhost:9002",
|
||||
target: "http://localhost:9003",
|
||||
changeOrigin: false,
|
||||
},
|
||||
"/signup": {
|
||||
target: "http://localhost:9002",
|
||||
target: "http://localhost:9003",
|
||||
changeOrigin: false,
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue