nodebb is the executable. start is the first argument passed in.
Change default root path
-
Hi guys.
Can i change default root path?
Actually home.tpl is the default route to "/". I'm avoiding change the core app, can i change it for other route using hook filters, or maybe customizing the theme?I have created same 'static' pages, and i hope to direct root path to some one.
Thanks
-
I think this is something we should let admins do from the ACP. Some people might want to use /recent as home for example. It is not possible without diving into code right now.
-
We'll look into this at some point, I can't promise for 0.4x even though we are currently making some huge overhauls to our routing system. But it will be in the back of my mind, so stay tuned
-
I made a GH issue for it so we don't forget about it https://github.com/designcreateplay/NodeBB/issues/1133
-
@baris is it implemented, now? we want to show a different landing page while user is not logged in if we can move home page to different route then it would be easier.
-