Skip to content

Commit

Permalink
Merge pull request #26532 from jeet-dhandha/fix-26504
Browse files Browse the repository at this point in the history
Fix 26504
  • Loading branch information
Hayata Suenaga authored Sep 1, 2023
2 parents 124b41e + d538c2a commit 602faa1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/webpack/webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ module.exports = (env = {}) =>
'/api': 'http://[::1]:9000',
'/staging': 'http://[::1]:9000',
'/chat-attachments': 'http://[::1]:9000',
'/receipts': 'http://[::1]:9000',
},
};

Expand Down
1 change: 1 addition & 0 deletions web/proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 602faa1

Please sign in to comment.