Skip to content
Snippets Groups Projects
Commit ccfe8d59 authored by Xiao Gui's avatar Xiao Gui
Browse files

feat: basic express serving iv

parent 25ba5d14
No related branches found
No related tags found
No related merge requests found
const express = require('express')
const app = express()
const path = require('path')
app.use(express.static( path.resolve(__dirname, 'aot')))
const PORT = process.env.PORT || 3001
app.listen(PORT, () => console.log(`listening on port ${PORT}`))
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment