add sse events to client.

This commit is contained in:
Miroslav Šedivý
2023-12-02 01:11:28 +01:00
parent afa67ac537
commit a844a9f9d2
3 changed files with 71 additions and 4 deletions
+2
View File
@@ -11,7 +11,9 @@ module.exports = defineConfig({
proxy: process.env.API_PROXY ? {
'^/api': {
target: process.env.API_PROXY,
timeout: 0, // because of SSE
},
} : undefined,
compress: false, // because of SSE
}
})