mirror of
https://github.com/Spythere/genera-tor.git
synced 2026-05-03 05:28:13 +00:00
Update API
This commit is contained in:
+2
-2
@@ -15,10 +15,10 @@ export default defineConfig({
|
||||
globPatterns: ['**/*.{js,css,html,png,svg,img}'],
|
||||
runtimeCaching: [
|
||||
{
|
||||
urlPattern: /^https:\/\/stacjownik-api-b9mrc\.ondigitalocean\.app\/api\/getSceneries/i,
|
||||
urlPattern: /^https:\/\/spythere.pl\/\/api\/getSceneries/i,
|
||||
handler: 'CacheFirst',
|
||||
options: {
|
||||
cacheName: 'sceneries-data-cache',
|
||||
cacheName: 'sceneries-cache',
|
||||
expiration: {
|
||||
maxEntries: 250,
|
||||
maxAgeSeconds: 60 * 60 * 24 * 7, // <== 7 days
|
||||
|
||||
Reference in New Issue
Block a user