aboutsummaryrefslogtreecommitdiff
path: root/src/environment
diff options
context:
space:
mode:
Diffstat (limited to 'src/environment')
-rw-r--r--src/environment/environment.ts19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/environment/environment.ts b/src/environment/environment.ts
new file mode 100644
index 0000000..0e29225
--- /dev/null
+++ b/src/environment/environment.ts
@@ -0,0 +1,19 @@
+import home_dir from "https://deno.land/x/dir/home_dir/mod.ts";
+import { join } from "https://deno.land/[email protected]/path/mod.ts";
+
+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",
+};