feature(backend): PORT-EnvVar wordt nu ook via envvar.ts ingelezen
This commit is contained in:
		
							parent
							
								
									73a84fa3ef
								
							
						
					
					
						commit
						ee5fe4774e
					
				
					 4 changed files with 4 additions and 3 deletions
				
			
		|  | @ -4,6 +4,7 @@ const DB_PREFIX = PREFIX + 'DB_'; | |||
| type EnvVar = { key: string; required?: boolean; defaultValue?: any }; | ||||
| 
 | ||||
| export const EnvVars: { [key: string]: EnvVar } = { | ||||
|     Port: { key: PREFIX + "PORT", defaultValue: 3000 }, | ||||
|     DbHost: { key: DB_PREFIX + 'HOST', required: true }, | ||||
|     DbPort: { key: DB_PREFIX + 'PORT', defaultValue: 5432 }, | ||||
|     DbName: { key: DB_PREFIX + 'NAME', defaultValue: 'dwengo' }, | ||||
|  |  | |||
		Reference in a new issue
	
	 Gerald Schmittinger
						Gerald Schmittinger