問題タブ [azure-front-door]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
958 参照

azure - Azure フロント ドア URL が ReactJs アプリの AppService URL にリダイレクトされる理由

アプリ サービスを使用して Frontdoor をセットアップし、ReactJsapp と Asp.net API を site\wwwroot\webapp と site\wwwroot\api のような 2 つの異なるサブディレクトリにデプロイしました。問題は、Azure フロントドアの URL example.azurewebfd.net/webapp を使用すると、example.azurewebsite.net/webapp に誘導されることです。API に対しては正常に動作し、example.azurewebsite.net/api にリダイレクトせず、example.azurefd.net/api を保持します。

どうすればこの問題を解決できますか?