You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.
When setting a PUBLIC_URL via server.js, the admin page opens correctly at https://example.com/strapi/dashboard
However, the javascript files in the HTML page cannot be loaded (cf. screenshot) as the PUBLIC_URL (PUBLIC_ADMIN_URL) seems not to be used.
did you run the strapi build command after changing the configuration? Afaik the strapi web ui needs to recompile after changing such fundamental configuration.
If the URL is defined at build time, then the output image is tied to that url and can not be reused to deploy to different environments like dev, qa, prod …
A suggestion is that the public url for the admin ui must be set at runtime instead of build time, but I think this can be archived on the docker files not in strapi side
When setting a PUBLIC_URL via server.js, the admin page opens correctly at https://example.com/strapi/dashboard
However, the javascript files in the HTML page cannot be loaded (cf. screenshot) as the PUBLIC_URL (PUBLIC_ADMIN_URL) seems not to be used.
/admin/runtime~main.d1293aad.js
should be
/strapi/dashboard/runtime~main.d1293aad.js
The text was updated successfully, but these errors were encountered: