jcoppieters / cody

Javascript Content Management System running on Node.js
howest.cody-cms.org
MIT License
678 stars 197 forks source link

what is starting uri of application #50

Closed dark-coder closed 7 years ago

jcoppieters commented 7 years ago

if you run locally -> http://localhost:3000/xx but also "/" is redirected to the defaultLanguage.

you can see this in:

siteServer.all("/" + app.languages[iL].id + "/*", function (req, res) { app.servePage(req, res); });