Add public URIs to yarn dev proxy.

This commit is contained in:
Kailash Nadh 2021-09-19 17:10:40 +05:30
parent 9f9425c408
commit 4b13f0c74f

View file

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