From 6db86830a9c1636b170d939011d82b6662a43928 Mon Sep 17 00:00:00 2001 From: Bunyamin Coskuner Date: Mon, 24 Aug 2020 10:37:34 +0300 Subject: [PATCH 1/3] docs: capitalize ABP Co-authored-by: Mehmet Erim <34455572+mehmet-erim@users.noreply.github.com> --- docs/en/UI/Angular/Environment.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/UI/Angular/Environment.md b/docs/en/UI/Angular/Environment.md index 34b7a38370..cfdfb4cce1 100644 --- a/docs/en/UI/Angular/Environment.md +++ b/docs/en/UI/Angular/Environment.md @@ -1,6 +1,6 @@ # Environment -Every application needs some ** environment ** variables. In Angular world, this is usually managed by `environment.ts`, `environment.prod.ts` and so on. It is the same for Abp as well. +Every application needs some ** environment ** variables. In Angular world, this is usually managed by `environment.ts`, `environment.prod.ts` and so on. It is the same for ABP as well. Current `Environment` configuration holds sub config classes as follows: @@ -102,4 +102,4 @@ export interface RemoteEnv { * `overwrite`: Remote `environment` will be used and local environment will be ignored. * `customMergeFn`: You can also provide your own merge function as shown in the example. It will take two parameters, `localEnv: Partial` and `remoteEnv` and it needs to return a `Config.Environment` object. * `method`: HTTP method to be used when retrieving environment config. Default: `GET` -* `headers`: If extra headers are needed for the request, it can be set through this field. \ No newline at end of file +* `headers`: If extra headers are needed for the request, it can be set through this field. From b0dbd4e8f1a34e10942f92fa3ea89cec67ca2492 Mon Sep 17 00:00:00 2001 From: Bunyamin Coskuner Date: Mon, 24 Aug 2020 10:38:51 +0300 Subject: [PATCH 2/3] docs: remove hmr and localization fields Co-authored-by: Mehmet Erim <34455572+mehmet-erim@users.noreply.github.com> --- docs/en/UI/Angular/Environment.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/en/UI/Angular/Environment.md b/docs/en/UI/Angular/Environment.md index cfdfb4cce1..5ffe7b1ba5 100644 --- a/docs/en/UI/Angular/Environment.md +++ b/docs/en/UI/Angular/Environment.md @@ -8,8 +8,6 @@ Current `Environment` configuration holds sub config classes as follows: export interface Environment { apis: Apis; application: Application; - hmr?: boolean; - localization?: { defaultResourceName?: string }; oAuthConfig: AuthConfig; production: boolean; remoteEnv?: RemoteEnv; From 9e4b2a7335259bf3cc20c795c687be0031adc15d Mon Sep 17 00:00:00 2001 From: Bunyamin Coskuner Date: Mon, 24 Aug 2020 10:39:16 +0300 Subject: [PATCH 3/3] docs: remove localization part Co-authored-by: Mehmet Erim <34455572+mehmet-erim@users.noreply.github.com> --- docs/en/UI/Angular/Environment.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/docs/en/UI/Angular/Environment.md b/docs/en/UI/Angular/Environment.md index 5ffe7b1ba5..af50e34155 100644 --- a/docs/en/UI/Angular/Environment.md +++ b/docs/en/UI/Angular/Environment.md @@ -65,9 +65,6 @@ Everything else will be sent to `"https://localhost:8080"` * `logoUrl`: Url of the application logo. It is used by `logo.component` * `baseUrl`: [For detailed information](./Multi-Tenancy.md#domain-tenant-resolver) -## Localization - -You can read about `Localization` [here in detail](./Localization.md) ## AuthConfig