🍕
This commit is contained in:
parent
0c0dc1ce3f
commit
5166fc92b6
17 changed files with 295 additions and 44 deletions
|
|
@ -63,6 +63,12 @@ app.get('/manifest.json', (req, res) =>
|
|||
*/
|
||||
app.get(/\/api:url/, require('./service/url-preview'));
|
||||
|
||||
/**
|
||||
* Docs
|
||||
*/
|
||||
app.get(/^\/docs\/([a-z_\-\/]+?)$/, (req, res) =>
|
||||
res.sendFile(`${__dirname}/docs/${req.params[0]}.html`));
|
||||
|
||||
/**
|
||||
* Routing
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue