diff --git a/generator/frontend/src/screens/ResultScreen.tsx b/generator/frontend/src/screens/ResultScreen.tsx index 0776058..ff567ac 100644 --- a/generator/frontend/src/screens/ResultScreen.tsx +++ b/generator/frontend/src/screens/ResultScreen.tsx @@ -38,7 +38,7 @@ export function ResultScreen({ username, generating, generatedSvg, generateError // profile README from the repo named exactly after the account. Most people // arriving here don't have that repo yet, so offer both paths. const profileRepo = encodeURIComponent(username) - const editReadmeUrl = `https://github.com/${profileRepo}/${profileRepo}/edit/main/README.md` + const editReadmeUrl = `https://github.com/${profileRepo}/${profileRepo}/edit/HEAD/README.md` const createRepoUrl = `https://github.com/new?name=${profileRepo}&description=${encodeURIComponent('My GitHub profile')}&visibility=public` const copy = async () => {