I have implemented Swagger in my Web API (ASP.NET Core 3.1) and my launch url is /swagger. I have edited my launchSettings.json in order of this, and it works good in my development machine, but not after publishing in production server.
I have read that launchSettings.json is only used on the local development machine, and if I want to use certain of these settings in the production machine I need to store such settings in the appsettings.json file.
But I couldn't find how to set this file. Some help would be appreciated, thanks in advance.