Hello,
When I'm building my Angular app in production with this command "ng-build --prod --baseHref /Course/", the application start correctly but when the app trying to reach api/abp/application-configuration, the url is wrong : https://localhost:44321/Course/undefined/api/abp/application-configuration.
My environment.ts file has https://localhost:44321 as default api url. Is there a way to indicate to the CoreModule to not taking care about the baseHref when it trying to reach api ? Or must I have to create an interceptor to rewrite the url ?
Update: I investigated a little bit more. Firtly, using an interceptor can't work, I don't have the first part of the url (It's start from undefined/api..., and I can't rewrite the missing part). Secondly, I looked the source code of the application-configuration.service.ts file, and it seems the endpoint url can't be rewrited.
I saw the application-configuration call can be skipped in the CoreModule.forRoot(...), is it a good idea to skip it and write my proper application-configuration service with the good url ? And will it work ?
Thanks.