Set overwriteprotocol to HTTPS in Codespace
Codespace is serving everything only as HTTPS. To keep the URLs valid, we also need to overwrite the protocol. (otherwise e.g. you can't develop the SAML app as the URLs are invalid) Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
9fd72b0d3a
commit
4dd25f8de8
|
@ -14,4 +14,5 @@ $CONFIG = [
|
||||||
|
|
||||||
if($cloudEnvironmentId !== true) {
|
if($cloudEnvironmentId !== true) {
|
||||||
$CONFIG['overwritehost'] = $cloudEnvironmentId . '-80.apps.codespaces.githubusercontent.com';
|
$CONFIG['overwritehost'] = $cloudEnvironmentId . '-80.apps.codespaces.githubusercontent.com';
|
||||||
|
$CONFIG['overwriteprotocol'] = 'https';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue