set default font via config

This commit is contained in:
2026-07-18 22:16:56 +02:00
parent 990de4b710
commit 93c042251a
6 changed files with 22 additions and 3 deletions

View File

@@ -23,6 +23,11 @@ export default (router, tpl) => {
route: /^\/s\/koepfe\//
});
router.static({
dir: cfg.paths.fonts,
route: /^\/s\/fonts\//
});
router.static({
dir: path.join(path.resolve(), 'node_modules/@ruffle-rs/ruffle'),
route: /^\/s\/ruffle\//