aktualizacja paczek i API

This commit is contained in:
2023-12-09 19:20:09 +01:00
parent b663f7408d
commit 8aa2233d41
4 changed files with 619 additions and 577 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
VITE_APP_API_URL=https://stacjownik.spythere.pl/api VITE_APP_API_URL=https://stacjownik.spythere.eu/api
VITE_APP_SWDR_URL=https://api.td2.info.pl VITE_APP_SWDR_URL=https://api.td2.info.pl
+12 -11
View File
@@ -2,6 +2,7 @@
"name": "genera-tor", "name": "genera-tor",
"version": "1.3.1", "version": "1.3.1",
"private": true, "private": true,
"type": "module",
"scripts": { "scripts": {
"dev": "vite --port 8080", "dev": "vite --port 8080",
"deploy": "yarn build && firebase deploy --only hosting", "deploy": "yarn build && firebase deploy --only hosting",
@@ -9,18 +10,18 @@
"preview": "vite preview" "preview": "vite preview"
}, },
"dependencies": { "dependencies": {
"axios": "^1.1.3", "axios": "^1.6.2",
"pinia": "^2.0.14", "pinia": "^2.1.7",
"vue": "^3.2.37", "vue": "^3.3.11",
"vue-i18n": "9", "vue-i18n": "9.8.0",
"vue-router": "^4.0.0-0", "vue-router": "^4.2.5",
"vue-tsc": "^1.0.9" "vue-tsc": "^1.8.25"
}, },
"devDependencies": { "devDependencies": {
"@vitejs/plugin-vue": "^3.2.0", "@vitejs/plugin-vue": "^4.5.2",
"sass": "^1.56.0", "sass": "^1.69.5",
"typescript": "^4.8.4", "typescript": "^5.3.3",
"vite": "^3.2.2", "vite": "^5.0.7",
"vite-plugin-pwa": "^0.13.2" "vite-plugin-pwa": "^0.17.4"
} }
} }
+1 -2
View File
@@ -15,7 +15,7 @@ export default defineConfig({
globPatterns: ['**/*.{js,css,html,png,svg,img}'], globPatterns: ['**/*.{js,css,html,png,svg,img}'],
runtimeCaching: [ runtimeCaching: [
{ {
urlPattern: /^https:\/\/stacjownik.spythere.pl\/\/api\/getSceneries/i, urlPattern: /^https:\/\/stacjownik.spythere.eu\/\/api\/getSceneries/i,
handler: 'CacheFirst', handler: 'CacheFirst',
options: { options: {
cacheName: 'sceneries-cache', cacheName: 'sceneries-cache',
@@ -36,4 +36,3 @@ export default defineConfig({
}), }),
], ],
}); });
+605 -563
View File
File diff suppressed because it is too large Load Diff