diff options
| author | Fridon <[email protected]> | 2022-06-23 00:01:12 +0400 |
|---|---|---|
| committer | Fridon <[email protected]> | 2022-06-23 00:01:12 +0400 |
| commit | 7d72153d68ea4c682266f0301aa45b4e3a9e45a9 (patch) | |
| tree | ba2b4b8937d0c7785a468fae18880762a5e6b484 /src/environment | |
| parent | be829dad070205555c514ff497fcf2eae355a6e2 (diff) | |
| download | countryfetch-7d72153d68ea4c682266f0301aa45b4e3a9e45a9.tar.xz countryfetch-7d72153d68ea4c682266f0301aa45b4e3a9e45a9.zip | |
big refactor + raw option
Diffstat (limited to 'src/environment')
| -rw-r--r-- | src/environment/environment.ts | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/environment/environment.ts b/src/environment/environment.ts index b3897ec..bc82b40 100644 --- a/src/environment/environment.ts +++ b/src/environment/environment.ts @@ -5,15 +5,5 @@ export const environment = { baseUrl: "https://restcountries.com/v3.1/", syncInterval: 7, cacheDir: join(home_dir() as string, ".cache", "countryfetch"), - queries: - "all?fields=" + - "name," + - "capital," + - "currencies," + - "population," + - "flag," + - "region," + - "continent," + - "languages," + - "region", + queries: `all?fields=name,capital,currencies,population,flag,region,continent,languages,region`, }; |
