Skip to content

Commit

Permalink
Proxy feedback request to mw-backend servers
Browse files Browse the repository at this point in the history
Signed-off-by: Benoit Donneaux <[email protected]>
  • Loading branch information
btlogy committed Oct 17, 2024
1 parent 2e9aebf commit 3668760
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions client/src/public/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ AddType application/wasm .wasm

RewriteEngine On

RewriteCond %{HTTP_HOST} "=stage.winden.app"
RewriteRule "^(v\d+)/feedback$" "https://feedback.stage.mw.leastauthority.com/$1/feedback" [P,L]

RewriteCond %{HTTP_HOST} "=winden.app"
RewriteRule "^(v\d+)/feedback$" "https://feedback.mw.leastauthority.com/$1/feedback" [P,L]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.html [L]
Expand Down

0 comments on commit 3668760

Please sign in to comment.