mirror of
https://github.com/stackblitz/bolt.new
synced 2025-02-05 20:46:43 +00:00
Merge pull request #670 from thecodacus/private-github-repo
added support for private github repo through github connections
This commit is contained in:
commit
6a5ed21c0f
@ -15,6 +15,7 @@ export default function ConnectionsTab() {
|
|||||||
hasToken: !!githubToken,
|
hasToken: !!githubToken,
|
||||||
});
|
});
|
||||||
toast.success('GitHub credentials saved successfully!');
|
toast.success('GitHub credentials saved successfully!');
|
||||||
|
Cookies.set('git:github.com', JSON.stringify({ username: githubToken, password: 'x-oauth-basic' }));
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user