penpot/penpot

bug: js/main-dashboard.js and some other things not following penpotPublicURI

ile opened this issue · 2 comments

ile commented

Steps To Reproduce

I'm integrating Penpot 2.0 with my web app (1.x worked fine).

It seems that the request to /js/main-dashboard.js does not take into account the penpotPublicURI in config.js - thus the request will always go to the root of the domain.

Expected behavior

Follow penpotPublicURI.

Actual behavior

I have set penpotPublicURI = '/some/path' which works with all the other files but not this.

ile commented

Same on the main dashboard, the template images point to the root of the domain, not prefixed with penpotPublicURI.

image

ile commented

Also the same on other dashboard project images.

image