diff --git a/.env.development b/.env.development index cc36ee633..20c146ae2 100644 --- a/.env.development +++ b/.env.development @@ -8,5 +8,3 @@ VITE_KC_SKIP_AUTH=false VITE_KC_CONNECTION_TIMEOUT_MS=5000 # ONLY add your token in .env.development.local if you want to skip auth, otherwise this token takes precedence! #VITE_KC_DEV_TOKEN="your token from dev.zoo.dev should go in .env.development.local" -# Add a prod token if you want to use the share URL feature in local dev -#VITE_KC_PROD_TOKEN="your token from prod.zoo.dev should go in .env.development.local" \ No newline at end of file diff --git a/flake.lock b/flake.lock index dff03418b..20c3e4946 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1721933792, - "narHash": "sha256-zYVwABlQnxpbaHMfX6Wt9jhyQstFYwN2XjleOJV3VVg=", + "lastModified": 1736320768, + "narHash": "sha256-nIYdTAiKIGnFNugbomgBJR+Xv5F1ZQU+HfaBqJKroC0=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "2122a9b35b35719ad9a395fe783eabb092df01b1", + "rev": "4bc9c909d9ac828a039f288cf872d16d38185db8", "type": "github" }, "original": { @@ -18,11 +18,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1718428119, - "narHash": "sha256-WdWDpNaq6u1IPtxtYHHWpl5BmabtpmLnMAx0RdJ/vo8=", + "lastModified": 1728538411, + "narHash": "sha256-f0SBJz1eZ2yOuKUr5CA9BHULGXVSn6miBuUWdTyhUhU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "e6cea36f83499eb4e9cd184c8a8e823296b50ad5", + "rev": "b69de56fac8c2b6f8fd27f2eca01dcda8e0a4221", "type": "github" }, "original": { @@ -43,11 +43,11 @@ "nixpkgs": "nixpkgs_2" }, "locked": { - "lastModified": 1721960387, - "narHash": "sha256-o21ax+745ETGXrcgc/yUuLw1SI77ymp3xEpJt+w/kks=", + "lastModified": 1736476219, + "narHash": "sha256-+qyv3QqdZCdZ3cSO/cbpEY6tntyYjfe1bB12mdpNFaY=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "9cbf831c5b20a53354fc12758abd05966f9f1699", + "rev": "de30cc5963da22e9742bbbbb9a3344570ed237b9", "type": "github" }, "original": { diff --git a/interface.d.ts b/interface.d.ts index 9c032ec7b..443918f28 100644 --- a/interface.d.ts +++ b/interface.d.ts @@ -62,7 +62,6 @@ export interface IElectronAPI { TEST_SETTINGS_FILE_KEY: string IS_PLAYWRIGHT: string VITE_KC_DEV_TOKEN: string - VITE_KC_PROD_TOKEN: string VITE_KC_API_WS_MODELING_URL: string VITE_KC_API_BASE_URL: string VITE_KC_SITE_BASE_URL: string diff --git a/src/components/ProjectSidebarMenu.tsx b/src/components/ProjectSidebarMenu.tsx index 9b12bf033..7f97d4559 100644 --- a/src/components/ProjectSidebarMenu.tsx +++ b/src/components/ProjectSidebarMenu.tsx @@ -18,7 +18,6 @@ import Tooltip from './Tooltip' import { createCreateFileUrl, createShortlink } from 'lib/links' import { useSettingsAuthContext } from 'hooks/useSettingsAuthContext' import toast from 'react-hot-toast' -import { DEV, VITE_KC_PROD_TOKEN } from 'env' import { err } from 'lib/trap' const ProjectSidebarMenu = ({ diff --git a/src/env.ts b/src/env.ts index ff0c50c3d..1522a1717 100644 --- a/src/env.ts +++ b/src/env.ts @@ -14,7 +14,6 @@ export const VITE_KC_SKIP_AUTH = env.VITE_KC_SKIP_AUTH as string | undefined export const VITE_KC_CONNECTION_TIMEOUT_MS = env.VITE_KC_CONNECTION_TIMEOUT_MS as string | undefined export const VITE_KC_DEV_TOKEN = env.VITE_KC_DEV_TOKEN as string | undefined -export const VITE_KC_PROD_TOKEN = env.VITE_KC_PROD_TOKEN as string | undefined export const PROD = env.PROD as string | undefined export const TEST = env.TEST as string | undefined export const DEV = env.DEV as string | undefined diff --git a/src/preload.ts b/src/preload.ts index 7ad77cdc7..6a0188004 100644 --- a/src/preload.ts +++ b/src/preload.ts @@ -188,7 +188,6 @@ contextBridge.exposeInMainWorld('electron', { 'VITE_KC_SKIP_AUTH', 'VITE_KC_CONNECTION_TIMEOUT_MS', 'VITE_KC_DEV_TOKEN', - 'VITE_KC_PROD_TOKEN', 'IS_PLAYWRIGHT', // Really we shouldn't use these and our code should use NODE_ENV