faq-website/routes/static.js

5 lines
155 B
JavaScript
Raw Permalink Normal View History

2024-07-06 01:08:38 +00:00
import { Router, static as static_ } from "express";
const staticRouter = Router();
staticRouter.use("/", static_("public"));
2024-07-06 01:14:20 +00:00
export default staticRouter;