diff --git a/.version b/.version index 10196b4..0c6262a 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.0.2 \ No newline at end of file +0.0.0.3 \ No newline at end of file diff --git a/NetinaShop.Api/AppSettings/appsettings.Development.json b/NetinaShop.Api/AppSettings/appsettings.Development.json index e1b04fc..de28cc0 100644 --- a/NetinaShop.Api/AppSettings/appsettings.Development.json +++ b/NetinaShop.Api/AppSettings/appsettings.Development.json @@ -16,7 +16,7 @@ "TaxesFee": 9 }, "SiteSettings": { - "BaseUrl": "http://192.168.88.12:32770", + "BaseUrl": "http://localhost:32770", "KaveNegarApiKey": "3735494B4143727A794346457461576A2B4B6668414973424E333561505A694B", "UserSetting": { "Username": "netinashop", diff --git a/NetinaShop.Api/Program.cs b/NetinaShop.Api/Program.cs index c7134bd..9067bcf 100644 --- a/NetinaShop.Api/Program.cs +++ b/NetinaShop.Api/Program.cs @@ -84,13 +84,12 @@ var app = builder.Build(); // Configure the HTTP request pipeline. if (app.Environment.IsDevelopment()) { - app.UseCustomSwagger(siteSetting.BaseUrl); //app.UseSwagger(); //app.UseSwaggerUI(); } app.UseCors("CorsPolicy"); -//app.UseCustomSwagger(siteSetting.BaseUrl); +app.UseCustomSwagger(siteSetting.BaseUrl); app.UseAuthorization(); app.UseAuthentication();