How do I get pages like src/pages/myrootpage.erl to show up at http://mysite.org/myrootpage using nitrogen?
Nitrogen does not seem to like pages being at the root url path, only addon paths l开发者_StackOverflowike /web/ is there some way to get pages to show up at the root url like /mypage ?
Currently you can not do it. You can change what this prefix is, it doesn't have to be '/web', but at the moment there has to be one root element with some name. This may change soon but because Nitrogen currently does not include support for static file sharing then this is the current reality.
精彩评论