Created
April 6, 2018 15:52
-
-
Save E314c/bb735e04b86103831dd61e05a2eee15f to your computer and use it in GitHub Desktop.
one line express static server. (needs `express` installed)
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
x=require('express');x().use(x.static(__dirname)).listen(3200,()=>console.log('listening on 3200')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment