Browse Source
Merge pull request #9230 from abpframework/liangshiwei/template
Add requireHttps to environment*.ts
pull/9253/head
maliming
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
4 additions and
0 deletions
-
templates/app/angular/src/environments/environment.prod.ts
-
templates/app/angular/src/environments/environment.ts
-
templates/module/angular/projects/dev-app/src/environments/environment.prod.ts
-
templates/module/angular/projects/dev-app/src/environments/environment.ts
|
|
@ -15,6 +15,7 @@ export const environment = { |
|
|
clientId: 'MyProjectName_App', |
|
|
clientId: 'MyProjectName_App', |
|
|
responseType: 'code', |
|
|
responseType: 'code', |
|
|
scope: 'offline_access MyProjectName', |
|
|
scope: 'offline_access MyProjectName', |
|
|
|
|
|
requireHttps: true |
|
|
}, |
|
|
}, |
|
|
apis: { |
|
|
apis: { |
|
|
default: { |
|
|
default: { |
|
|
|
|
|
@ -15,6 +15,7 @@ export const environment = { |
|
|
clientId: 'MyProjectName_App', |
|
|
clientId: 'MyProjectName_App', |
|
|
responseType: 'code', |
|
|
responseType: 'code', |
|
|
scope: 'offline_access openid profile role email phone MyProjectName', |
|
|
scope: 'offline_access openid profile role email phone MyProjectName', |
|
|
|
|
|
requireHttps: true |
|
|
}, |
|
|
}, |
|
|
apis: { |
|
|
apis: { |
|
|
default: { |
|
|
default: { |
|
|
|
|
|
@ -15,6 +15,7 @@ export const environment = { |
|
|
clientId: 'MyProjectName_App', |
|
|
clientId: 'MyProjectName_App', |
|
|
responseType: 'code', |
|
|
responseType: 'code', |
|
|
scope: 'offline_access MyProjectName', |
|
|
scope: 'offline_access MyProjectName', |
|
|
|
|
|
requireHttps: true |
|
|
}, |
|
|
}, |
|
|
apis: { |
|
|
apis: { |
|
|
default: { |
|
|
default: { |
|
|
|
|
|
@ -15,6 +15,7 @@ export const environment = { |
|
|
clientId: 'MyProjectName_App', |
|
|
clientId: 'MyProjectName_App', |
|
|
responseType: 'code', |
|
|
responseType: 'code', |
|
|
scope: 'offline_access MyProjectName role email openid profile', |
|
|
scope: 'offline_access MyProjectName role email openid profile', |
|
|
|
|
|
requireHttps: true |
|
|
}, |
|
|
}, |
|
|
apis: { |
|
|
apis: { |
|
|
default: { |
|
|
default: { |
|
|
|