mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-20 00:08:02 +01:00
feat: enable frontend cache for everyone (#6546)
This commit is contained in:
parent
a5ad4267ab
commit
8c87e27b8a
@ -138,10 +138,8 @@ export class GlobalFrontendApiCache extends EventEmitter {
|
||||
}
|
||||
|
||||
private async onUpdateRevisionEvent() {
|
||||
if (this.config.flagResolver.isEnabled('globalFrontendApiCache')) {
|
||||
await this.refreshData();
|
||||
}
|
||||
}
|
||||
|
||||
private environmentNameForToken(token: IApiUser): string {
|
||||
if (token.environment === ALL_ENVS) {
|
||||
|
Loading…
Reference in New Issue
Block a user