Update docs
This commit is contained in:
parent
e80e7950c0
commit
862de83721
@ -8,7 +8,9 @@ import { Request } from 'express-serve-static-core'
|
|||||||
require('dotenv').config()
|
require('dotenv').config()
|
||||||
|
|
||||||
const app = express()
|
const app = express()
|
||||||
|
// Add the EJS view engine, to render the gallery page
|
||||||
app.set('view engine', 'ejs')
|
app.set('view engine', 'ejs')
|
||||||
|
// Serve static assets from the /public folder
|
||||||
app.use(express.static('public'))
|
app.use(express.static('public'))
|
||||||
|
|
||||||
// An incoming request for a shared link
|
// An incoming request for a shared link
|
||||||
|
Loading…
x
Reference in New Issue
Block a user