upright-netizen/uprightnetizen.com — Issue #6: [Node Static app] - trailing slash issue
Author: nathanstilwell
Created: 2011-12-15 13:05:58+00:00
State: open

Currently if you forget to type a trailing slash while using node to develop locally, the page will use the domain as a relative path instead of the folder.

*Example*

http://localhost:3002/the-shadow

looks for css in

http://localhost:3002/css/style.css

while

http://localhost:3002/the-shadow/

looks for css in

http://localhost:3002/the-shadow/css/style.css