mirror of
https://github.com/LukeHagar/sveltesociety.dev.git
synced 2025-12-09 20:57:44 +00:00
adds static adapter, removes some links to non-existing files
This commit is contained in:
20
.svelte/dev/runtime/internal/singletons.js
Normal file
20
.svelte/dev/runtime/internal/singletons.js
Normal file
@@ -0,0 +1,20 @@
|
||||
/** @type {import('./router').Router} */
|
||||
let router;
|
||||
|
||||
/** @type {string} */
|
||||
let base = '';
|
||||
|
||||
/** @type {string} */
|
||||
let assets = '/.';
|
||||
|
||||
/** @param {import('./router').Router} _ */
|
||||
function init(_) {
|
||||
router = _;
|
||||
}
|
||||
|
||||
/** @param {{ base: string, assets: string }} paths */
|
||||
function set_paths(paths) {
|
||||
({ base, assets } = paths);
|
||||
}
|
||||
|
||||
export { assets, base, init, router, set_paths };
|
||||
Reference in New Issue
Block a user