Skip to content

Commit

Permalink
fix: remove process
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <[email protected]>
  • Loading branch information
Innei committed Jul 2, 2024
1 parent 3bdde89 commit 36ee8d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions electron.vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default defineConfig({
define: {
APP_VERSION: JSON.stringify(pkg.version),
APP_NAME: JSON.stringify(pkg.productName),

},
},
})
4 changes: 2 additions & 2 deletions src/shared/src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const APP_PROTOCOL = import.meta.env.DEV ? "follow-dev" : "follow"
export const APP_PROTOCOL = import.meta.env.DEV ? "follow" : "follow"
export const DEEPLINK_SCHEME = `${APP_PROTOCOL}://`

export const WEB_URL = process.env.VERCEL_URL ?? import.meta.env.VERCEL_URL ?? import.meta.env.VITE_WEB_URL
export const WEB_URL = import.meta.env.VITE_VERCEL_URL ?? import.meta.env.VITE_WEB_URL

Check failure on line 4 in src/shared/src/constants.ts

View workflow job for this annotation

GitHub Actions / Lint and Typecheck (18.x)

Property 'VITE_VERCEL_URL' does not exist on type 'ImportMetaEnv'.

Check failure on line 4 in src/shared/src/constants.ts

View workflow job for this annotation

GitHub Actions / Lint and Typecheck (18.x)

Property 'VITE_WEB_URL' does not exist on type 'ImportMetaEnv'.

0 comments on commit 36ee8d5

Please sign in to comment.