From 7d72153d68ea4c682266f0301aa45b4e3a9e45a9 Mon Sep 17 00:00:00 2001 From: Fridon Date: Thu, 23 Jun 2022 00:01:12 +0400 Subject: big refactor + raw option --- src/environment/environment.ts | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/environment') 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`, }; -- cgit v1.2.3