diff options
author | MCMXC <16797721+mcmxcdev@users.noreply.github.com> | 2023-12-22 15:12:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-22 15:12:16 -0700 |
commit | 85927dc191a935761b3f175bcd50e7c3076acc9e (patch) | |
tree | ceeb350621d824eeb9fdc9137a64a2e820b269b9 /src/config.ts | |
parent | Reset nightly version to 6.7.1-nightly.0 (diff) | |
download | ferdium-app-85927dc191a935761b3f175bcd50e7c3076acc9e.tar.gz ferdium-app-85927dc191a935761b3f175bcd50e7c3076acc9e.tar.zst ferdium-app-85927dc191a935761b3f175bcd50e7c3076acc9e.zip |
refactor: remove unused code with knip (#1492)
- remove unused code snippets flagged by `npx knip`
Diffstat (limited to 'src/config.ts')
-rw-r--r-- | src/config.ts | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/config.ts b/src/config.ts index 922b01628..fd1b1cced 100644 --- a/src/config.ts +++ b/src/config.ts | |||
@@ -27,12 +27,8 @@ export const LIVE_API_FERDIUM_WEBSITE = 'https://ferdium.org'; | |||
27 | export const LIVE_API_FERDIUM_LIBRETRANSLATE = | 27 | export const LIVE_API_FERDIUM_LIBRETRANSLATE = |
28 | 'https://translator.ferdium.org/translate'; | 28 | 'https://translator.ferdium.org/translate'; |
29 | 29 | ||
30 | export const STATS_API = 'https://stats.franzinfra.com'; | ||
31 | |||
32 | export const LOCAL_TODOS_FRONTEND_URL = 'http://localhost:4000'; | 30 | export const LOCAL_TODOS_FRONTEND_URL = 'http://localhost:4000'; |
33 | export const PRODUCTION_TODOS_FRONTEND_URL = 'https://app.franztodos.com'; | 31 | export const PRODUCTION_TODOS_FRONTEND_URL = 'https://app.franztodos.com'; |
34 | export const DEVELOPMENT_TODOS_FRONTEND_URL = | ||
35 | 'https://development--franz-todos.netlify.com'; | ||
36 | 32 | ||
37 | export const CDN_URL = 'https://cdn.franzinfra.com'; | 33 | export const CDN_URL = 'https://cdn.franzinfra.com'; |
38 | 34 | ||
@@ -282,11 +278,6 @@ export const TODO_APPS = { | |||
282 | [CUSTOM_TODO_SERVICE]: 'Other service', | 278 | [CUSTOM_TODO_SERVICE]: 'Other service', |
283 | }; | 279 | }; |
284 | 280 | ||
285 | export const DEFAULT_TODO_SERVICE = TODO_TODOIST_URL; | ||
286 | export const DEFAULT_TODO_RECIPE_ID = | ||
287 | TODO_SERVICE_RECIPE_IDS[DEFAULT_TODO_SERVICE]; | ||
288 | export const DEFAULT_TODO_SERVICE_NAME = TODO_APPS[DEFAULT_TODO_SERVICE]; | ||
289 | |||
290 | export const SIDEBAR_WIDTH = { | 281 | export const SIDEBAR_WIDTH = { |
291 | 35: 'Extremely slim sidebar', | 282 | 35: 'Extremely slim sidebar', |
292 | 45: 'Very slim sidebar', | 283 | 45: 'Very slim sidebar', |
@@ -385,7 +376,7 @@ export const DEFAULT_APP_SETTINGS = { | |||
385 | 376 | ||
386 | // Ferdium specific options | 377 | // Ferdium specific options |
387 | server: LIVE_FERDIUM_API, | 378 | server: LIVE_FERDIUM_API, |
388 | predefinedTodoServer: DEFAULT_TODO_SERVICE, | 379 | predefinedTodoServer: TODO_TODOIST_URL, |
389 | autohideMenuBar: false, | 380 | autohideMenuBar: false, |
390 | lockingFeatureEnabled: false, | 381 | lockingFeatureEnabled: false, |
391 | locked: false, | 382 | locked: false, |