zepheira / backstage

The server-side sub-project of Exhibit3
55 stars 16 forks source link

Wiki: Path for exhibit files wrong? #20

Closed dominikb1888 closed 13 years ago

dominikb1888 commented 13 years ago

One difference towards the manual I've experienced while testing backstage. The path for to exhibit-api.js which is listed under authoring for me was: http://localhost:8181/exhibit/api/exhibit-api.js?autoCreate=false&postLoad=true&js=http://localhost:8181/backstage/api/backstage-api.js

Seems like butterfly is exposing the exhibit files directly in root, not in http://localhost:8181/backstage/exhibit... as mentioned in the wiki.

distobj commented 13 years ago

Thanks for catching that, Domink. I've updated the Wiki.

zepheiryan commented 13 years ago

I'd forgotten that was the case, it should probably move back to being mounted at /backstage/exhibit/api instead. Part of the point of putting everything under /backstage was to make proxying simple.

distobj commented 13 years ago

Ryan, did you want to preserve the "main" module, or to revert?

zepheiryan commented 13 years ago

Fixed in 891da38305f9ef5108450daac8be3ce1f5c3c31f

zepheiryan commented 13 years ago

The new Butterfly seems to have modified its mount algorithm such that Backstage won't run at /backstage (only at /) without the otherwise empty main module.