1
0
mirror of https://github.com/twirl/The-API-Book.git synced 2025-06-12 22:17:33 +02:00

live examples continued

This commit is contained in:
Sergey Konstantinov
2023-07-30 15:25:21 +03:00
parent 15ca4b3417
commit 38e97cceb2
172 changed files with 502246 additions and 302 deletions

8
scripts/docs-server.js Normal file
View File

@ -0,0 +1,8 @@
const express = require('express');
const port = process.argv[2];
express()
.use('/', express.static('docs'))
.listen(port, () => {
console.log(`Docs Server is listening port ${port}`);
});