forked from insodoc/insomnia-documenter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a1770c1
commit b6b7fc0
Showing
21 changed files
with
586 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
const express = require('express'); | ||
const path = require('path'); | ||
|
||
const app = express(); | ||
|
||
app.use('/insomnia-documenter', express.static(path.resolve(__dirname, '..', 'docs'))); | ||
app.get('/', function (req, res) { | ||
return res.redirect('/insomnia-documenter'); | ||
}); | ||
app.listen(5000, function () { | ||
console.log('App listening on http://localhost:5000'); | ||
}); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.