Updates the esp32 template to use eventsocket

This commit is contained in:
Rune Harlyk
2024-04-23 19:35:29 +02:00
committed by Rune Harlyk
parent 7e521235f4
commit 5148891fc4
31 changed files with 366 additions and 1809 deletions
+2 -6
View File
@@ -17,15 +17,11 @@ export default defineConfig({
server: {
proxy: {
'/rest': {
target: 'http://192.168.0.130',
changeOrigin: true
},
'/events': {
target: 'http://192.168.0.130',
target: 'http://192.168.0.172',
changeOrigin: true
},
'/ws': {
target: 'ws://192.168.0.130',
target: 'ws://192.168.0.172',
changeOrigin: true,
ws: true
}