✨
This commit is contained in:
parent
09cd610524
commit
e52885bfe4
20 changed files with 29 additions and 30 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import * as path from 'path';
|
||||
import * as express from 'express';
|
||||
import * as ms from 'ms';
|
||||
import ms = require('ms');
|
||||
|
||||
export default (name: string) => (req: express.Request, res: express.Response) => {
|
||||
res.sendFile(path.resolve(`${__dirname}/app/${name}/view.html`), {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue