Skip to content

Instantly share code, notes, and snippets.

@samuelteixeiras
Created March 23, 2022 22:40
Show Gist options
  • Save samuelteixeiras/9ed6cfc779423cefa03637ebbbb9fcf6 to your computer and use it in GitHub Desktop.
Save samuelteixeiras/9ed6cfc779423cefa03637ebbbb9fcf6 to your computer and use it in GitHub Desktop.
express setUp
const express = require('express')
const app = express()
// set the public folder, place for static files.
app.use(express.static(__dirname + '/public'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment