Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 1 of 3

Naming react website url in github pages

Solved! Go to Solution.

While deploying my create-react-app website to Github pages, one of the steps involves setting up the homepage in package.json . 

{
...
"homepage": "https;//GithubUsername.github.io/reponame",
....
}

 However, is it possible to set this to only http://GithubUsername.github.io/ ?

2 Replies
Community Manager
Message 2 of 3

Re: Naming react website url in github pages

See our help docs on how to set up HTTPS support for your GitHub Pages site.

 

Let us know if you have any questions.

Solution
Copilot Lvl 2
Message 3 of 3

Re: Naming react website url in github pages

Not what I was looking for😅. The answer to my question is to deploy on the "master" branch, with the name of the repository as username.github.io