diff --git a/config/webpack/webpack.dev.js b/config/webpack/webpack.dev.js index af302a0e663e..19999491395e 100644 --- a/config/webpack/webpack.dev.js +++ b/config/webpack/webpack.dev.js @@ -24,6 +24,7 @@ module.exports = (env = {}) => '/api': 'http://[::1]:9000', '/staging': 'http://[::1]:9000', '/chat-attachments': 'http://[::1]:9000', + '/receipts': 'http://[::1]:9000', }, }; diff --git a/web/proxy.js b/web/proxy.js index 3bce08514600..0d82ae60b678 100644 --- a/web/proxy.js +++ b/web/proxy.js @@ -34,6 +34,7 @@ const server = http.createServer((request, response) => { * /staging/api?command=OpenReport => request sent to staging server * /staging-secure/api?command=OpenReport => request sent to secure staging server * /chat-attachments/46545... => request sent to production server + * /receipts/w_... => request sent to production server * /staging/chat-attachments/46545... => request sent to staging server */ if (request.url.startsWith(proxyConfig.STAGING_SECURE)) {