mirror of
https://github.com/Spythere/genera-tor.git
synced 2026-05-03 13:38:12 +00:00
Update API
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
VITE_APP_API_URL=https://stacjownik-api-b9mrc.ondigitalocean.app/api
|
||||
VITE_APP_API_URL=https://spythere.pl/api
|
||||
VITE_APP_SWDR_URL=https://api.td2.info.pl:9640
|
||||
Vendored
+1
File diff suppressed because one or more lines are too long
Vendored
+9
File diff suppressed because one or more lines are too long
+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