update the api_domain entry in scramble.php like this: api_domain=https://github-codespace-domain-and-port.github.com
api_domain
scramble.php
api_domain=https://github-codespace-domain-and-port.github.com