From d040b5476634dd018ed4da8cd5d7f847d5be9f42 Mon Sep 17 00:00:00 2001 From: Halil ibrahim Kalkan Date: Tue, 28 May 2019 09:41:22 +0300 Subject: [PATCH] Fix URLs for https change. --- .../appsettings.json | 2 +- .../appsettings.json | 6 +++--- .../Pages/Index.cshtml | 2 +- .../MyCompanyName.MyProjectName.Web.Host/appsettings.json | 8 ++++---- .../appsettings.json | 6 +++--- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/templates/mvc-module/host/MyCompanyName.MyProjectName.HttpApi.Host/appsettings.json b/templates/mvc-module/host/MyCompanyName.MyProjectName.HttpApi.Host/appsettings.json index bd32219bef..9ee790cc41 100644 --- a/templates/mvc-module/host/MyCompanyName.MyProjectName.HttpApi.Host/appsettings.json +++ b/templates/mvc-module/host/MyCompanyName.MyProjectName.HttpApi.Host/appsettings.json @@ -7,6 +7,6 @@ "Configuration": "127.0.0.1" }, "AuthServer": { - "Authority": "http://localhost:61517" + "Authority": "https://localhost:44301/" } } \ No newline at end of file diff --git a/templates/mvc-module/host/MyCompanyName.MyProjectName.IdentityServer/appsettings.json b/templates/mvc-module/host/MyCompanyName.MyProjectName.IdentityServer/appsettings.json index ac556b7902..84503601a5 100644 --- a/templates/mvc-module/host/MyCompanyName.MyProjectName.IdentityServer/appsettings.json +++ b/templates/mvc-module/host/MyCompanyName.MyProjectName.IdentityServer/appsettings.json @@ -1,5 +1,5 @@ { - "AppSelfUrl": "http://localhost:61517/", + "AppSelfUrl": "https://localhost:44301/", "ConnectionStrings": { "Default": "Server=localhost;Database=MyProjectName_Main;Trusted_Connection=True;MultipleActiveResultSets=true" }, @@ -7,14 +7,14 @@ "Configuration": "127.0.0.1" }, "AuthServer": { - "Authority": "http://localhost:61517/", + "Authority": "https://localhost:44301/", "ApiName": "MyProjectName" }, "IdentityServer": { "Clients": { "MyProjectName_Web": { "ClientId": "MyProjectName_Web", - "RootUrl": "https://localhost:44314/" + "RootUrl": "https://localhost:44302/" }, "MyProjectName_ConsoleTestApp": { "ClientId": "MyProjectName_ConsoleTestApp" diff --git a/templates/mvc-module/host/MyCompanyName.MyProjectName.Web.Host/Pages/Index.cshtml b/templates/mvc-module/host/MyCompanyName.MyProjectName.Web.Host/Pages/Index.cshtml index 30248e8f44..18ef699e57 100644 --- a/templates/mvc-module/host/MyCompanyName.MyProjectName.Web.Host/Pages/Index.cshtml +++ b/templates/mvc-module/host/MyCompanyName.MyProjectName.Web.Host/Pages/Index.cshtml @@ -8,7 +8,7 @@ @if (!CurrentUser.IsAuthenticated) {
- +
} else diff --git a/templates/mvc-module/host/MyCompanyName.MyProjectName.Web.Host/appsettings.json b/templates/mvc-module/host/MyCompanyName.MyProjectName.Web.Host/appsettings.json index fef0224647..96a98545b1 100644 --- a/templates/mvc-module/host/MyCompanyName.MyProjectName.Web.Host/appsettings.json +++ b/templates/mvc-module/host/MyCompanyName.MyProjectName.Web.Host/appsettings.json @@ -1,18 +1,18 @@ { - "AppSelfUrl": "https://localhost:44314/", + "AppSelfUrl": "https://localhost:44302/", "RemoteServices": { "Default": { - "BaseUrl": "http://localhost:61517/" + "BaseUrl": "https://localhost:44301/" }, "MyProjectName": { - "BaseUrl": "http://localhost:57992/" + "BaseUrl": "https://localhost:44300/" } }, "Redis": { "Configuration": "127.0.0.1" }, "AuthServer": { - "Authority": "http://localhost:61517/", + "Authority": "https://localhost:44301/", "ClientId": "MyProjectName_Web", "ClientSecret": "1q2w3e*" } diff --git a/templates/mvc-module/test/MyCompanyName.MyProjectName.HttpApi.Client.ConsoleTestApp/appsettings.json b/templates/mvc-module/test/MyCompanyName.MyProjectName.HttpApi.Client.ConsoleTestApp/appsettings.json index a49783d869..db70a74230 100644 --- a/templates/mvc-module/test/MyCompanyName.MyProjectName.HttpApi.Client.ConsoleTestApp/appsettings.json +++ b/templates/mvc-module/test/MyCompanyName.MyProjectName.HttpApi.Client.ConsoleTestApp/appsettings.json @@ -1,10 +1,10 @@ { "RemoteServices": { "Default": { - "BaseUrl": "http://localhost:61517/" + "BaseUrl": "https://localhost:44301/" }, "MyProjectName": { - "BaseUrl": "http://localhost:57992/" + "BaseUrl": "https://localhost:44300/" } }, "IdentityClients": { @@ -14,7 +14,7 @@ "ClientSecret": "1q2w3e*", "UserName": "admin", "UserPassword": "1q2w3E*", - "Authority": "http://localhost:61517", + "Authority": "https://localhost:44301/", "Scope": "MyProjectName" } }