fix CORS problem caused by axios-cache-interceptor

This commit is contained in:
martin-mfg
2025-10-16 11:39:08 +02:00
parent 8f7a7948f6
commit bb533859c1
+1
View File
@@ -5,6 +5,7 @@ const cachedAxios = setupCache(axios, {
// Cache for 30 minutes
ttl: 30 * 60 * 1000,
interpretHeader: false,
cacheTakeover: false,
methods: ['get', 'post'],
});