one more time to make sure that /api/admin rerpons
curl -I Strapi Admin
HTTP/1.1 200 OK
so browser prevent running
prepareInjection.js:249:7
in next function
function injectScriptSync(src) {
let code = ‘’;
const request = new XMLHttpRequest();
request.addEventListener(‘load’, function () {
code = this.responseText;
});
request.open(‘GET’, src, false);
request.send();
const script = document.createElement(‘script’);
script.textContent = code; // This script runs before the element is created,
// so we add the script to instead.
so when runstrapi app on / such problem doesn’t appear. but before that i manupulate my ENV varibles should i rebuild admin panel.
as i’m on shared hosting it’s not that trivial task