mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-04-30 23:29:30 +08:00
13 lines
252 B
JavaScript
13 lines
252 B
JavaScript
/** @type {string} */
|
|
let base = '';
|
|
|
|
/** @type {string} */
|
|
let assets = '';
|
|
|
|
/** @param {{ base: string, assets: string }} paths */
|
|
function set_paths(paths) {
|
|
base = paths.base;
|
|
assets = paths.assets || base;
|
|
}
|
|
|
|
export { assets, base, set_paths };
|