Skip to content

Commit

Permalink
Merge pull request #873 from jamescdavis/configure_host_to_enable_rss
Browse files Browse the repository at this point in the history
configure production host
  • Loading branch information
ijlee2 committed Dec 28, 2020
2 parents d4f0ca0 + 0a815b4 commit 739f3b0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ module.exports = function(environment) {

if (environment === 'production') {
// here you can enable a production-specific feature
ENV.blog.host = 'https://blog.emberjs.com';
}

return ENV;
Expand Down
8 changes: 7 additions & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,10 @@
from = "/tags/*"
to = "/tag/:splat"
status = 301
force = false
force = false

[[redirects]]
from = "/feed.xml"
to = "/rss.xml"
status = 301
force = false

0 comments on commit 739f3b0

Please sign in to comment.