mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-02 21:08:12 +00:00
update url api
This commit is contained in:
@@ -2,6 +2,6 @@ export const URLs = {
|
||||
stacjownikAPI:
|
||||
import.meta.env.VITE_APP_API_DEV == 1 && !import.meta.env.PROD
|
||||
? 'http://localhost:3000'
|
||||
: 'https://stacjownik.spythere.pl',
|
||||
: 'https://spythere.pl',
|
||||
stacjownikAPIDev: 'localhost:3000',
|
||||
};
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ export default defineConfig({
|
||||
globPatterns: ['**/*.{js,css,html,png,svg,jpg}'],
|
||||
runtimeCaching: [
|
||||
{
|
||||
urlPattern: new RegExp('^https://stacjownik.spythere.pl/api/getSceneries', 'i'),
|
||||
urlPattern: new RegExp('^https://spythere.pl/api/getSceneries', 'i'),
|
||||
handler: 'NetworkFirst',
|
||||
options: {
|
||||
cacheName: 'sceneries-cache',
|
||||
|
||||
Reference in New Issue
Block a user