mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	fix: add feature-flag for license
This commit is contained in:
		
							parent
							
								
									a73d87a943
								
							
						
					
					
						commit
						31124e4a90
					
				| @ -83,6 +83,7 @@ exports[`should create default config 1`] = ` | ||||
|       "disableNotifications": false, | ||||
|       "embedProxy": true, | ||||
|       "embedProxyFrontend": true, | ||||
|       "enableLicense": false, | ||||
|       "featureSearchAPI": false, | ||||
|       "featureSearchFeedback": true, | ||||
|       "featureSearchFeedbackPosting": false, | ||||
|  | ||||
| @ -5,6 +5,7 @@ import { getDefaultVariant } from 'unleash-client/lib/variant'; | ||||
| export type IFlagKey = | ||||
|     | 'accessLogs' | ||||
|     | 'anonymiseEventLog' | ||||
|     | 'enableLicense' | ||||
|     | 'embedProxy' | ||||
|     | 'embedProxyFrontend' | ||||
|     | 'responseTimeWithAppNameKillSwitch' | ||||
| @ -41,6 +42,7 @@ export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>; | ||||
| 
 | ||||
| const flags: IFlags = { | ||||
|     anonymiseEventLog: false, | ||||
|     enableLicense: false, | ||||
|     embedProxy: parseEnvVarBoolean( | ||||
|         process.env.UNLEASH_EXPERIMENTAL_EMBED_PROXY, | ||||
|         true, | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user