remove force-cache

This commit is contained in:
vcoppe committed 2026-12-02 18:57:20 +01:00
1 parent 6854d4ca93
commit 42d4647c94
1 file changed
+1 -1
+1 -1
View File
@@ -262,7 +262,7 @@ export class StyleManager {
async get(styleInfo: StyleSpecification | string): Promise<StyleSpecification> { async get(styleInfo: StyleSpecification | string): Promise<StyleSpecification> {
if (typeof styleInfo === 'string') { if (typeof styleInfo === 'string') {
const styleUrl = styleInfo as string; const styleUrl = styleInfo as string;
const response = await fetch(styleUrl, { cache: 'force-cache' }); const response = await fetch(styleUrl);
if (!response.ok) { if (!response.ok) {
throw new Error(`HTTP error fetching style "${styleInfo}": ${response.status}`); throw new Error(`HTTP error fetching style "${styleInfo}": ${response.status}`);
} }