From 0c6fef2129b811a6de988402ab8c30b4cec91e26 Mon Sep 17 00:00:00 2001 From: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com> Date: Tue, 7 Jan 2025 16:53:36 +0100 Subject: [PATCH] cache-busting on cors settings set --- src/lib/features/frontend-api/frontend-api-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/features/frontend-api/frontend-api-service.ts b/src/lib/features/frontend-api/frontend-api-service.ts index 98b1d3e60158..b2dd9fd39f07 100644 --- a/src/lib/features/frontend-api/frontend-api-service.ts +++ b/src/lib/features/frontend-api/frontend-api-service.ts @@ -216,7 +216,7 @@ export class FrontendApiService { if (error) { throw new BadDataError(error); } - const settings = (await this.getFrontendSettings()) || {}; + const settings = (await this.getFrontendSettings(false)) || {}; await this.services.settingService.insert( frontendSettingsKey, { ...settings, frontendApiOrigins: value },