All files / lib config.ts

100% Statements 9/9
50% Branches 2/4
100% Functions 0/0
100% Lines 9/9

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30      1x   1x 1x   1x       1x   1x 1x         1x         1x        
type Env = 'production' | 'development';
 
export const APP_ENV: Env =
  process.env.APP_ENV === 'production' ? process.env.APP_ENV : 'development';
 
export const isProduction = APP_ENV === 'production';
export const isDev = APP_ENV === 'development';
 
export const hackleKey = isProduction
  ? 'CLPnPYltSDcVGcVAsNrIOMMeK49vJIB4'
  : 'DaQ3SZK32pERirsvzbLY0yNyhlD7GkIk';
 
export const naverOauthClientId = 'ualUr3Eo8TSpwhJ5PYjk';
 
export const CLIENT_ID = 'GiftCard';
export const CLIENT_SECRET = {
  production: 'o44BN1mOj+wL5RWIpTHWu46NncSohlQOXrdFzE8NXSqmUs06pbS/rCj+7KqTV5GA',
  development: 'o44BN1mOj+wL5RWIpTHWu46NncSohlQOXrdFzE8NXSqmUs06pbS/rCj+7KqTV5GA'
}[APP_ENV];
 
export const MIXPANEL_TOKEN = {
  production: '570348566c9a8d341a5c2057eebc710d',
  development: '2869d11f687b056a026ac942093de3cc'
}[APP_ENV];
 
export const STUDIO_URL = {
  development: 'https://studio-test.realworld.to',
  production: 'https://studio.realworld.to'
}[APP_ENV];