Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postfix baseURL with / #46

Merged
merged 1 commit into from
Feb 23, 2016
Merged

Postfix baseURL with / #46

merged 1 commit into from
Feb 23, 2016

Conversation

offirgolan
Copy link
Contributor

After deploying a couple projects, it looks like the last / was required.

Without it, going to user.github.io/project resulted in a 404 but going to user.github.io/project/ worked. This solved that issue for me.

After deploying a couple projects, it looks like the last `/` was required.

Without it, going to `user.github.io/project` resulted in a 404 but going to `user.github.io/project/` worked. This solved that issue for me.
@@ -18,7 +18,7 @@ module.exports = {
updateDummyConfig: function() {
var name = this.project.pkg.name;
var search = " if (environment === 'production') {";
var replace = " if (environment === 'production') {\n ENV.locationType = 'hash';\n ENV.baseURL = '/" + name + "';";
var replace = " if (environment === 'production') {\n ENV.locationType = 'hash';\n ENV.baseURL = '/" + name + "/';";

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is too long.
Mixed double and single quotes.

knownasilya pushed a commit that referenced this pull request Feb 23, 2016
@knownasilya knownasilya merged commit d169655 into poetic:master Feb 23, 2016
@knownasilya
Copy link
Contributor

Thanks!

knownasilya pushed a commit that referenced this pull request Feb 23, 2016
- Add trailing slash for baseurl, see #46 (thanks @offirgolan!)
@knownasilya
Copy link
Contributor

Released as v0.0.8

@offirgolan
Copy link
Contributor Author

Sweet! Thanks for the quick release 😸

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants