mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-12-03 10:04:29 +00:00
remove force-cache
This commit is contained in:
1 parent
6854d4ca93
commit
42d4647c94
1 file changed
+1
-1
@@ -262,7 +262,7 @@ export class StyleManager {
|
||||
async get(styleInfo: StyleSpecification | string): Promise<StyleSpecification> {
|
||||
if (typeof styleInfo === 'string') {
|
||||
const styleUrl = styleInfo as string;
|
||||
const response = await fetch(styleUrl, { cache: 'force-cache' });
|
||||
const response = await fetch(styleUrl);
|
||||
if (!response.ok) {
|
||||
throw new Error(`HTTP error fetching style "${styleInfo}": ${response.status}`);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user