Last active
December 12, 2018 10:52
-
-
Save rpf5573/cd70d943e48ddc64c42cefbcb231b0ca to your computer and use it in GitHub Desktop.
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
const app = express(); | |
// static file request folder | |
app.use(express.static('public')); | |
app.get('/admin', (req, res) => { | |
console.log( 'called' ); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment