d-pac / restful-keystone

Automatic RESTful API enabler for KeystoneJS
MIT License
160 stars 50 forks source link

path module changes slash directions #19

Closed sjkillen closed 8 years ago

sjkillen commented 8 years ago

On windows the urls don't work because the path module converts /s to backslashes I changed it so that it uses require('url') instead, but still accepts a config.root that doesn't end with a slash.