We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52a7c8a commit 2e0a3c3Copy full SHA for 2e0a3c3
source/lib/api.js
@@ -26,7 +26,7 @@ export async function getApiUrl() {
26
27
// TODO: Drop `api.github.com` check when dropping migrations
28
if (origin === 'https://api.github.com' || origin === 'https://github.com') {
29
- return origin;
+ return 'https://api.github.com';
30
}
31
32
return `${origin}/api/v3`;
0 commit comments