Skip to content

Instantly share code, notes, and snippets.

@rpf5573
Last active December 12, 2018 10:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rpf5573/cd70d943e48ddc64c42cefbcb231b0ca to your computer and use it in GitHub Desktop.
Save rpf5573/cd70d943e48ddc64c42cefbcb231b0ca to your computer and use it in GitHub Desktop.
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