issues
search
fac19
/
week5-FKAM
https://week5-fakm.herokuapp.com/public/index.html
0
stars
4
forks
source link
GET route /public AKA Static file server
#15
Open
glrta
opened
4 years ago
glrta
commented
4 years ago
Serve up the files from the public folder!
[x] route starts with /public/ added to router.js
[x] handler function in handlers.js
[x] parses req.url into filename and extension
[x] if file exists return it with correct mime type
[ ] if not then 302 redirect to /public/404.html
Serve up the files from the public folder!