enonic/app-contentstudio

Project config resource always tries to open at `/admin`

Closed this issue · 0 comments

"Handler not found" comes up when opening Settings module in Content Studio. It's caused by CS always trying to open the /project/config endpoint under /admin, so it will fail if the admin is not mounted at /admin via vhosts.

To reproduce:

  1. Add the following mapping for admin vhost to the vhosts config file:
mapping.admin.host = localhost
mapping.admin.source = /
mapping.admin.target = /admin
mapping.admin.idProvider.system = default
  1. Enable vhosts (set enabled = true)
  2. Go directly to /settings in Content Studio
image