mirror of https://github.com/abpframework/abp
				
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							32 lines
						
					
					
						
							738 B
						
					
					
				
			
		
		
	
	
							32 lines
						
					
					
						
							738 B
						
					
					
				| const ENV = {
 | |
|   dev: {
 | |
|     apiUrl: 'http://localhost:44305',
 | |
|     oAuthConfig: {
 | |
|       issuer: 'http://localhost:44305',
 | |
|       clientId: 'MyProjectName_App',
 | |
|       clientSecret: '1q2w3e*',
 | |
|       scope: 'offline_access MyProjectName',
 | |
|     },
 | |
|     localization: {
 | |
|       defaultResourceName: 'MyProjectName',
 | |
|     },
 | |
|   },
 | |
|   prod: {
 | |
|     apiUrl: 'http://localhost:44305',
 | |
|     oAuthConfig: {
 | |
|       issuer: 'http://localhost:44305',
 | |
|       clientId: 'MyProjectName_App',
 | |
|       clientSecret: '1q2w3e*',
 | |
|       scope: 'offline_access MyProjectName',
 | |
|     },
 | |
|     localization: {
 | |
|       defaultResourceName: 'MyProjectName',
 | |
|     },
 | |
|   },
 | |
| };
 | |
| 
 | |
| export const getEnvVars = () => {
 | |
|   // eslint-disable-next-line no-undef
 | |
|   return __DEV__ ? ENV.dev : ENV.prod;
 | |
| };
 |