diff --git a/README.md b/README.md index 33c85ff8..a36f489d 100644 --- a/README.md +++ b/README.md @@ -170,7 +170,7 @@ Components installed by Bower live in the `app/bower_components` directory. This ### Github Pages 1. Uncomment this line `// app.baseUrl = '/polymer-starter-kit/';` in app.js near the top -2. Change `app.baseUrl = '/polymer-starter-kit/';` to `app.baseUrl = '/your-pathname/';` (ex: if you repo is `github.com/username/bobs-awesome-site` you would change this to `bobs-awesome-site`) +2. Change `app.baseUrl = '/polymer-starter-kit/';` to `app.baseUrl = '/your-pathname/';` (ex: if you repo is `github.com/username/bobs-awesome-site` you would change this to `app.baseUrl = '/bobs-awesome-site/';`) 3. Run `gulp build-deploy-gh-pages` from command line 4. To see changes wait 1-2 minutes then load Github pages for your app (ex: https://polymerelements.github.io/polymer-starter-kit/) diff --git a/docs/deploy-to-github-pages.md b/docs/deploy-to-github-pages.md index 7cc9bf52..570ee005 100644 --- a/docs/deploy-to-github-pages.md +++ b/docs/deploy-to-github-pages.md @@ -14,7 +14,7 @@ You can deploy to github pages with a couple minor changes to Polymer Starter Ki } ``` -2. Change `app.baseUrl = '/polymer-starter-kit/';` to `app.baseUrl = '/your-pathname/';` (ex: if you repo is `github.com/username/bobs-awesome-site` you would change this to `bobs-awesome-site`) +2. Change `app.baseUrl = '/polymer-starter-kit/';` to `app.baseUrl = '/your-pathname/';` (ex: if you repo is `github.com/username/bobs-awesome-site` you would change this to `app.baseUrl = '/bobs-awesome-site/';`) 3. Add this code at the top of `` tag in the [index.html](../app/index.html) to force HTTPS: