mirror of
https://github.com/sub-store-org/Sub-Store.git
synced 2026-12-04 18:26:53 +00:00
Add cache
This commit is contained in:
1 parent
1b0f8f124e
commit
1fcc1f77d7
5 files changed
+164
-106
No files matched your search
+6
-1
@@ -31,6 +31,7 @@
|
||||
import TopToolbar from "@/components/TopToolbar";
|
||||
import BottomNav from "@/components/BottomNav";
|
||||
|
||||
|
||||
function initStore(store) {
|
||||
store.dispatch('FETCH_SUBSCRIPTIONS');
|
||||
store.dispatch("FETCH_COLLECTIONS");
|
||||
@@ -72,4 +73,8 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
const DEBUG = true;
|
||||
|
||||
export const BACKEND_BASE = DEBUG ? `http://127.0.0.1:3000` : `http://sub.store`;
|
||||
export const BACKEND_BASE = DEBUG ? `http://192.168.1.134:3000` : `http://sub.store`;
|
||||
Reference in new issue
Block a user