totaljs / framework

Node.js framework
http://www.totaljs.com
Other
4.36k stars 450 forks source link

default_root #711

Closed eugenner closed 5 years ago

eugenner commented 5 years ago

After setting default_root parameter in the config, for example for CMS app, application doesn't work like should be, it shows Login Form (when url is pointed on the added default_root, "default_root : /cms/" for ex.) And probably the same situation with Eshop app. It was attempt to use two applications on the same host. Or this option is about custom applications only?

petersirka commented 5 years ago

Hi. CMS is not optimized for defualt_root. App must have some optimalization for it.

eugenner commented 5 years ago

Hi, so probably it will be good to correct information about this option: https://blog.totaljs.com/blogs/news/20180801-total-js-v3-0-0/

Improved domain root changing

This improved feature will help you if you want to provide multiple Total.js apps on the same domain divided by path e.g. /eshop/, /cms/, /helpdesk/.

I meant that this phrase: "will help" sounds little bit confusing. It is still need to some coding... ok.

petersirka commented 5 years ago

Yes but CMS and Eshop is older than Total.js v3... But new version of products will support it.