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
With the die(); statement on this line https://github.com/Cockpit-HQ/Cockpit/blob/develop/index.php#L134
the access-control headers, which would be set at the 'before' event (in the lines above), are not sent out because 1) they are only set on the $apps response object and 2) the event doesn't have a chance of being fired.
Removing this line at least sends out the headers correctly.
With the
die();
statement on this line https://github.com/Cockpit-HQ/Cockpit/blob/develop/index.php#L134the access-control headers, which would be set at the
'before'
event (in the lines above), are not sent out because 1) they are only set on the$app
s response object and 2) the event doesn't have a chance of being fired.Removing this line at least sends out the headers correctly.
This is the underlying issue of agentejo/cockpit#1021
The text was updated successfully, but these errors were encountered: