aboutsummaryrefslogtreecommitdiff
path: root/src/environment
diff options
context:
space:
mode:
authorFridon <[email protected]>2022-06-23 00:01:12 +0400
committerFridon <[email protected]>2022-06-23 00:01:12 +0400
commit7d72153d68ea4c682266f0301aa45b4e3a9e45a9 (patch)
treeba2b4b8937d0c7785a468fae18880762a5e6b484 /src/environment
parentbe829dad070205555c514ff497fcf2eae355a6e2 (diff)
downloadcountryfetch-7d72153d68ea4c682266f0301aa45b4e3a9e45a9.tar.xz
countryfetch-7d72153d68ea4c682266f0301aa45b4e3a9e45a9.zip
big refactor + raw option
Diffstat (limited to 'src/environment')
-rw-r--r--src/environment/environment.ts12
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`,
};