nxus / router

The Nxus router is an Express compatible web server and router for Nxus applications.
MIT License
0 stars 0 forks source link

Router should check static file path includes a leading slash #6

Open mjreich opened 8 years ago

mjreich commented 8 years ago

app.get('router').static('assets', __dirname+"/assets”)

should work like

app.get('router').static('/assets', __dirname+"/assets”)