How to add service URL for Aspire front end sample
We created aspire sample with Core Web API backend localhost URL = [http://localhost:5192/] and Core front end localhost URL = [http://localhost:5039/] , In our front end we have added ServiceUrl="api/documenteditor/" to call backend service while we upload a document in a document edtor. But instead of "http://localhost:5192/api/documenteditor/" we getting "http://localhost:5039/api/documenteditor/" of frontend , so unable to send request to backend. How to configure the backend service that needs to add by default while uploading without hardcoded URL so that even we deployed it needs to update the deployed URL in the service URL? I have attached images of code.