Skip to content

Commit

Permalink
removes process.env from lib. Users can override in the constructor
Browse files Browse the repository at this point in the history
fix: #41
  • Loading branch information
kiwicopple committed Jan 14, 2021
1 parent 02c4d19 commit 82ffec9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib/constants.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export const GOTRUE_URL = process?.env?.GOTRUE_URL || 'http://localhost:9999'
export const AUDIENCE = process?.env?.AUDIENCE || ''
export const GOTRUE_URL = 'http://localhost:9999'
export const AUDIENCE = ''
export const DEFAULT_HEADERS = {}
export const EXPIRY_MARGIN = process?.env?.EXPIRY_MARGIN || 60 * 1000
export const STORAGE_KEY = process?.env?.STORAGE_KEY || 'supabase.auth.token'
export const EXPIRY_MARGIN = 60 * 1000
export const STORAGE_KEY = 'supabase.auth.token'
export const COOKIE_OPTIONS = {
name: 'sb:token',
lifetime: 60 * 60 * 8,
Expand Down

0 comments on commit 82ffec9

Please sign in to comment.