forked from f0ck/f0ckv2
18 lines
289 B
JavaScript
18 lines
289 B
JavaScript
import path from "path";
|
|
import router from "../router.mjs";
|
|
|
|
router.static({
|
|
dir: path.resolve() + "/public/b",
|
|
route: /^\/b\//
|
|
});
|
|
|
|
router.static({
|
|
dir: path.resolve() + "/public/s",
|
|
route: /^\/s\//
|
|
});
|
|
|
|
router.static({
|
|
dir: path.resolve() + "/public/t",
|
|
route: /^\/t\//
|
|
});
|