From ca72e228204f7ad816dbb0cda1304afcc02f9209 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 12 Nov 2023 15:55:03 +0100 Subject: [PATCH] [UI] Proxy `/media/*` requests to upstream when Vue is in debug mode. --- platypush/backend/http/webapp/vue.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/platypush/backend/http/webapp/vue.config.js b/platypush/backend/http/webapp/vue.config.js index 67b0a044a9..56aeb5541f 100644 --- a/platypush/backend/http/webapp/vue.config.js +++ b/platypush/backend/http/webapp/vue.config.js @@ -41,6 +41,7 @@ module.exports = { '^/auth': httpProxy, '^/camera/': httpProxy, '^/sound/': httpProxy, + '^/media/': httpProxy, '^/logo.svg': httpProxy, } }