1234567891011121314151617181920212223242526 |
- import { Router } from '../Router.js';
- import '../_version.js';
- let defaultRouter;
- export const getOrCreateDefaultRouter = () => {
- if (!defaultRouter) {
- defaultRouter = new Router();
-
- defaultRouter.addFetchListener();
- defaultRouter.addCacheListener();
- }
- return defaultRouter;
- };
|