parent
d8a2c77cf0
commit
9170f78650
4 changed files with 27 additions and 10 deletions
@ -0,0 +1,13 @@ |
||||
import express from 'express'; |
||||
|
||||
import { SERVER_PATHS } from '../lib/consts'; |
||||
|
||||
const router = express.Router(); |
||||
|
||||
router.use( |
||||
express.static(SERVER_PATHS.var.www.html.self, { |
||||
extensions: ['htm', 'html'], |
||||
}), |
||||
); |
||||
|
||||
export default router; |
Loading…
Reference in new issue