faq-website/routes/static.js
9pfs dd071e9854
All checks were successful
/ prettier (push) Successful in 1m35s
Install and run prettier
2024-07-06 01:14:20 +00:00

4 lines
155 B
JavaScript

import { Router, static as static_ } from "express";
const staticRouter = Router();
staticRouter.use("/", static_("public"));
export default staticRouter;