Add Salem Center contants
This commit is contained in:
		
							parent
							
								
									590c63e911
								
							
						
					
					
						commit
						0f77b08319
					
				|  | @ -2,6 +2,7 @@ import { escapeRegExp } from 'lodash' | ||||||
| import { DEV_CONFIG } from './dev' | import { DEV_CONFIG } from './dev' | ||||||
| import { EnvConfig, PROD_CONFIG } from './prod' | import { EnvConfig, PROD_CONFIG } from './prod' | ||||||
| import { THEOREMONE_CONFIG } from './theoremone' | import { THEOREMONE_CONFIG } from './theoremone' | ||||||
|  | import { SALEM_CENTER_CONFIG } from './salemcenter' | ||||||
| 
 | 
 | ||||||
| export const ENV = process.env.NEXT_PUBLIC_FIREBASE_ENV ?? 'PROD' | export const ENV = process.env.NEXT_PUBLIC_FIREBASE_ENV ?? 'PROD' | ||||||
| 
 | 
 | ||||||
|  | @ -9,6 +10,7 @@ const CONFIGS: { [env: string]: EnvConfig } = { | ||||||
|   PROD: PROD_CONFIG, |   PROD: PROD_CONFIG, | ||||||
|   DEV: DEV_CONFIG, |   DEV: DEV_CONFIG, | ||||||
|   THEOREMONE: THEOREMONE_CONFIG, |   THEOREMONE: THEOREMONE_CONFIG, | ||||||
|  |   SALEM_CENTER: SALEM_CENTER_CONFIG, | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| export const ENV_CONFIG = CONFIGS[ENV] | export const ENV_CONFIG = CONFIGS[ENV] | ||||||
|  |  | ||||||
							
								
								
									
										23
									
								
								common/envs/salemcenter.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								common/envs/salemcenter.ts
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,23 @@ | ||||||
|  | import { EnvConfig, PROD_CONFIG } from './prod' | ||||||
|  | 
 | ||||||
|  | export const SALEM_CENTER_CONFIG: EnvConfig = { | ||||||
|  |   domain: 'salemcenter.manifold.markets', | ||||||
|  |   firebaseConfig: { | ||||||
|  |     apiKey: 'AIzaSyBxisXMHPJDtM7ZseaOOlLAM_T7QHP_QvA', | ||||||
|  |     authDomain: 'salem-center-manifold.firebaseapp.com', | ||||||
|  |     projectId: 'salem-center-manifold', | ||||||
|  |     region: 'us-central1', | ||||||
|  |     storageBucket: 'salem-center-manifold.appspot.com', | ||||||
|  |     messagingSenderId: '522400938664', | ||||||
|  |     appId: '1:522400938664:web:300eaedb8446818d61a09d', | ||||||
|  |     measurementId: 'G-Y3EZ1WNT6E', | ||||||
|  |   }, | ||||||
|  |   cloudRunId: 'nggbo3neva', // TODO: fill in real ID for T1
 | ||||||
|  |   cloudRunRegion: 'uc', | ||||||
|  |   adminEmails: [...PROD_CONFIG.adminEmails, 'richardh0828@gmail.com'], | ||||||
|  |   moneyMoniker: 'S$', | ||||||
|  |   visibility: 'PRIVATE', | ||||||
|  |   faviconPath: '/theoremone/logo.ico', | ||||||
|  |   navbarLogoPath: '/theoremone/TheoremOne-Logo.svg', | ||||||
|  |   newQuestionPlaceholders: [], | ||||||
|  | } | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user