File tree Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ The `disallow` key will be used to generate the **robots.txt** and should be set
19
19
20
20
` project ` keys are frozen after the [ application startup] ( /application-startup ) .
21
21
22
- The following keys are available in the object:
22
+ The following keys are available in the object and supported as environment variables as follows :
23
23
24
- - ** domain** : ` string `
25
- - ** name** : ` string `
26
- - ** shortName** : ` string `
27
- - ** color** : ` string `
24
+ - ** domain** : ` string ` ( ` NULLSTACK_PROJECT_DOMAIN ` )
25
+ - ** name** : ` string ` ( ` NULLSTACK_PROJECT_NAME ` )
26
+ - ** shortName** : ` string ` ( ` NULLSTACK_PROJECT_SHORT_NAME ` )
27
+ - ** color** : ` string ` ( ` NULLSTACK_PROJECT_COLOR ` )
28
28
- ** backgroundColor** : ` string `
29
29
- ** type** : ` string `
30
30
- ** display** : ` string `
@@ -35,6 +35,8 @@ The following keys are available in the object:
35
35
- ** favicon** : ` string ` (relative or absolute url)
36
36
- ** disallow** : ` string array ` (relative paths)
37
37
- ** sitemap** : ` boolean ` or ` string ` (relative or absolute url)
38
+ - ** cdn** : ` string ` (` NULLSTACK_PROJECT_CDN ` )
39
+ - ** protocol** : ` string ` (` NULLSTACK_PROJECT_PROTOCOL ` )
38
40
39
41
Besides ` domain ` , ` name ` and ` color ` all other keys have sensible defaults generated based on the application scope.
40
42
Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ A chave `disallow` será usada para gerar o **robots.txt** e deverá ser definid
19
19
20
20
As chaves de ` project ` serão congeladas após a [ inicialização da aplicação] ( /pt-br/inicializacao-da-aplicacao ) .
21
21
22
- As chaves a seguir estão disponíveis no objeto:
22
+ As chaves a seguir estão disponíveis no objeto e são suportadas como variáveis de ambiente da seguinte maneira :
23
23
24
- - ** domain** : ` string `
25
- - ** name** : ` string `
26
- - ** shortName** : ` string `
27
- - ** color** : ` string `
24
+ - ** domain** : ` string ` ( ` NULLSTACK_PROJECT_DOMAIN ` )
25
+ - ** name** : ` string ` ( ` NULLSTACK_PROJECT_NAME ` )
26
+ - ** shortName** : ` string ` ( ` NULLSTACK_PROJECT_SHORT_NAME ` )
27
+ - ** color** : ` string ` ( ` NULLSTACK_PROJECT_COLOR ` )
28
28
- ** backgroundColor** : ` string `
29
29
- ** type** : ` string `
30
30
- ** display** : ` string `
@@ -35,6 +35,8 @@ As chaves a seguir estão disponíveis no objeto:
35
35
- ** favicon** : ` string ` (url relativo ou absoluto)
36
36
- ** disallow** : ` array ` de ` string ` (caminhos relativos)
37
37
- ** sitemap** : ` boolean ` ou ` string ` (url relativo ou absoluto)
38
+ - ** cdn** : ` string ` (` NULLSTACK_PROJECT_CDN ` )
39
+ - ** protocol** : ` string ` (` NULLSTACK_PROJECT_PROTOCOL ` )
38
40
39
41
Além de ` domain ` , ` name ` and ` color ` todas as outras chaves tem padrões sensíveis gerados com base no escopo do aplicativo.
40
42
You can’t perform that action at this time.
0 commit comments