Browse Source

Fix URLs for https change.

pull/1163/head
Halil ibrahim Kalkan 7 years ago
parent
commit
d040b54766
  1. 2
      templates/mvc-module/host/MyCompanyName.MyProjectName.HttpApi.Host/appsettings.json
  2. 6
      templates/mvc-module/host/MyCompanyName.MyProjectName.IdentityServer/appsettings.json
  3. 2
      templates/mvc-module/host/MyCompanyName.MyProjectName.Web.Host/Pages/Index.cshtml
  4. 8
      templates/mvc-module/host/MyCompanyName.MyProjectName.Web.Host/appsettings.json
  5. 6
      templates/mvc-module/test/MyCompanyName.MyProjectName.HttpApi.Client.ConsoleTestApp/appsettings.json

2
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/"
}
}

6
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"

2
templates/mvc-module/host/MyCompanyName.MyProjectName.Web.Host/Pages/Index.cshtml

@ -8,7 +8,7 @@
@if (!CurrentUser.IsAuthenticated)
{
<form method="POST">
<input type="submit" asp-page-handler="Login" value="LOGIN" class="btn btn-login" />
<input type="submit" asp-page-handler="Login" value="LOGIN" class="btn btn-primary" />
</form>
}
else

8
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*"
}

6
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"
}
}

Loading…
Cancel
Save