Turn cocopilot into github enterprise server, so that we can use CoCoPilot without patching Copilot plugin.
- Add the following JS to a cloudflare worker.
- Add Cloudflare Worker Routes:
*cocopilot-gh-enterprise.XXXXXXXX.XXX
. You should also add DNS recordscocopilot-gh-enterprise.XXXXXXXX.XXX
&*.cocopilot-gh-enterprise.XXXXXXXX.XXX
to make the route available - Setting GitHub Enterprise URL to
cocopilot-gh-enterprise.XXXXXXXX.XXX