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 9b7ef83 commit a7e01e2Copy full SHA for a7e01e2
packages/playground/website/src/github/git-auth-helpers.ts
@@ -37,7 +37,7 @@ export function createGitHubAuthHeaders(): (
37
) => Record<string, string> {
38
const token = oAuthState.value.token;
39
40
- return (url: string) => {
+ return (url: string): Record<string, string> => {
41
if (!token || !isGitHubUrl(url)) {
42
return {};
43
}
packages/playground/website/src/lib/types.d.ts
@@ -3,3 +3,8 @@ declare module 'virtual:website-config' {
3
export const remotePlaygroundOrigin: string;
4
export const buildVersion: string;
5
6
+
7
+// Defined in vite.config.ts
8
+declare module 'virtual:cors-proxy-url' {
9
+ export const corsProxyUrl: string;
10
+}
0 commit comments