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