开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜