瀏覽代碼

Add public URIs to yarn dev proxy.

Kailash Nadh 3 年之前
父節點
當前提交
4b13f0c74f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      frontend/vue.config.js

+ 1 - 1
frontend/vue.config.js

@@ -26,7 +26,7 @@ module.exports = {
   devServer: {
   devServer: {
     port: process.env.LISTMONK_FRONTEND_PORT || 8080,
     port: process.env.LISTMONK_FRONTEND_PORT || 8080,
     proxy: {
     proxy: {
-      '^/(api|webhooks)': {
+      '^/(api|webhooks|subscription|public)': {
         target: process.env.LISTMONK_API_URL || 'http://127.0.0.1:9000'
         target: process.env.LISTMONK_API_URL || 'http://127.0.0.1:9000'
       }
       }
     }
     }