diff --git a/.env b/.env index 80c0da7..25d40b9 100644 --- a/.env +++ b/.env @@ -1,2 +1,2 @@ -VITE_APP_API_URL=https://spythere.pl/api +VITE_APP_API_URL=https://stacjownik.spythere.pl/api VITE_APP_SWDR_URL=https://api.td2.info.pl \ No newline at end of file diff --git a/vite.config.ts b/vite.config.ts index 312dfbc..6f209b2 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -15,7 +15,7 @@ export default defineConfig({ globPatterns: ['**/*.{js,css,html,png,svg,img}'], runtimeCaching: [ { - urlPattern: /^https:\/\/spythere.pl\/\/api\/getSceneries/i, + urlPattern: /^https:\/\/stacjownik.spythere.pl\/\/api\/getSceneries/i, handler: 'CacheFirst', options: { cacheName: 'sceneries-cache',