Skip to content

Commit 77f303f

Browse files
committed
resolves #6131: Enable https by default
1 parent 6f2e804 commit 77f303f

File tree

11 files changed

+818
-18
lines changed

11 files changed

+818
-18
lines changed

angular/nswag/service.config.nswag

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"defaultVariables": null,
44
"documentGenerator": {
55
"fromDocument": {
6-
"url": "http://localhost:21021/swagger/v1/swagger.json",
6+
"url": "https://localhost:44311/swagger/v1/swagger.json",
77
"output": null
88
}
99
},

angular/src/assets/appconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"remoteServiceBaseUrl": "http://localhost:21021",
2+
"remoteServiceBaseUrl": "https://localhost:44311",
33
"appBaseUrl": "http://localhost:4200",
44
"localeMappings": [
55
{

angular/src/assets/appconfig.production.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"remoteServiceBaseUrl": "http://localhost:21021",
2+
"remoteServiceBaseUrl": "https://localhost:44311",
33
"appBaseUrl": "http://localhost:4200",
44
"localeMappings": [
55
{

aspnet-core/build/build-with-ng.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Copy-Item (Join-Path $ngFolder "Dockerfile") (Join-Path $outputFolder "ng")
3131

3232
# Change UI configuration
3333
$ngConfigPath = Join-Path $outputFolder "ng/assets/appconfig.json"
34-
(Get-Content $ngConfigPath) -replace "21021", "9901" | Set-Content $ngConfigPath
34+
(Get-Content $ngConfigPath) -replace "44311", "9901" | Set-Content $ngConfigPath
3535
(Get-Content $ngConfigPath) -replace "4200", "9902" | Set-Content $ngConfigPath
3636

3737
## CREATE DOCKER IMAGES #######################################################

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Host/Properties/launchSettings.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"windowsAuthentication": false,
44
"anonymousAuthentication": true,
55
"iisExpress": {
6-
"applicationUrl": "http://localhost:21021/",
7-
"sslPort": 0
6+
"applicationUrl": "https://localhost:44311/",
7+
"sslPort": 44311
88
}
99
},
1010
"profiles": {
@@ -18,11 +18,11 @@
1818
"AbpCompanyName.AbpProjectName.Web.Host": {
1919
"commandName": "Project",
2020
"launchBrowser": true,
21-
"launchUrl": "http://localhost:21021",
21+
"launchUrl": "https://localhost:44311/",
2222
"environmentVariables": {
2323
"ASPNETCORE_ENVIRONMENT": "Development"
2424
},
25-
"applicationUrl": "http://localhost:21021/"
25+
"applicationUrl": "https://localhost:44311/"
2626
}
2727
}
2828
}

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Host/appsettings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"Default": "Server=localhost; Database=AbpProjectNameDb; Trusted_Connection=True;"
44
},
55
"App": {
6-
"ServerRootAddress": "http://localhost:21021/",
6+
"ServerRootAddress": "https://localhost:44311/",
77
"ClientRootAddress": "http://localhost:4200/",
88
"CorsOrigins": "http://localhost:4200,http://localhost:8080,http://localhost:8081,http://localhost:3000"
99
},
@@ -18,7 +18,7 @@
1818
"Kestrel": {
1919
"Endpoints": {
2020
"Http": {
21-
"Url": "http://localhost:21021/"
21+
"Url": "https://localhost:44311/"
2222
}
2323
}
2424
}

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/Properties/launchSettings.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"windowsAuthentication": false,
44
"anonymousAuthentication": true,
55
"iisExpress": {
6-
"applicationUrl": "http://localhost:62114/",
7-
"sslPort": 0
6+
"applicationUrl": "https://localhost:44312/",
7+
"sslPort": 44312
88
}
99
},
1010
"profiles": {
@@ -18,10 +18,10 @@
1818
"AbpCompanyName.AbpProjectName.Web": {
1919
"commandName": "Project",
2020
"launchBrowser": true,
21-
"launchUrl": "http://localhost:5000",
21+
"launchUrl": "https://localhost:44312",
2222
"environmentVariables": {
2323
"ASPNETCORE_ENVIRONMENT": "Development"
2424
}
2525
}
2626
}
27-
}
27+
}

reactjs/.env.development

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
REACT_APP_APP_BASE_URL="http://localhost:3000"
2-
REACT_APP_REMOTE_SERVICE_BASE_URL="http://localhost:21021/"
2+
REACT_APP_REMOTE_SERVICE_BASE_URL="https://localhost:44311/"

reactjs/.env.production

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
GENERATE_SOURCEMAP=false
22
REACT_APP_APP_BASE_URL="http://localhost:3000"
3-
REACT_APP_REMOTE_SERVICE_BASE_URL="http://localhost:21021"
3+
REACT_APP_REMOTE_SERVICE_BASE_URL="https://localhost:44311"

0 commit comments

Comments
 (0)