From 7913048e41c332f3357e0de8149501d45973d71d Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Fri, 12 Apr 2019 16:50:47 -0700 Subject: [PATCH] Send users to the GitHub page via webamp.org At some point in the future github may not be the canonical URL for webamp. However, people are integrating Webamp all the time and very likely won't ever upgrade. It's better if the url baked into the binary we distribute is under our control so that it can be pointed somewhere else in the future. It's also an open question if GitHub is the best place to send users. Non technical users may get very confused. --- js/components/MainWindow/MainContextMenu.tsx | 2 +- js/components/MainWindow/__snapshots__/index.test.js.snap | 2 +- js/components/MainWindow/index.tsx | 2 +- netlify.toml | 5 ++++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/js/components/MainWindow/MainContextMenu.tsx b/js/components/MainWindow/MainContextMenu.tsx index 4ea24d03..461b05b7 100644 --- a/js/components/MainWindow/MainContextMenu.tsx +++ b/js/components/MainWindow/MainContextMenu.tsx @@ -43,7 +43,7 @@ type Props = StateProps & DispatchProps & OwnProps; const MainContextMenu = (props: Props) => ( diff --git a/js/components/MainWindow/__snapshots__/index.test.js.snap b/js/components/MainWindow/__snapshots__/index.test.js.snap index b0413e83..1d5ff940 100644 --- a/js/components/MainWindow/__snapshots__/index.test.js.snap +++ b/js/components/MainWindow/__snapshots__/index.test.js.snap @@ -472,7 +472,7 @@ exports[`MainWindow renders to snapshot 1`] = ` { diff --git a/netlify.toml b/netlify.toml index e22a005b..0a3af273 100644 --- a/netlify.toml +++ b/netlify.toml @@ -5,4 +5,7 @@ # A short URL for listeners of https://changelog.com/podcast/291 [[redirects]] from = "/changelog" - to = "/#%7B\"initialTracks\"%3A%5B%7B\"url\"%3A\"https%3A%2F%2Fcdn.changelog.com%2Fuploads%2Fpodcast%2F291%2Fthe-changelog-291.mp3\"%2C\"metaData\"%3A%7B\"artist\"%3A\"Changelog%20Podcast\"%2C\"title\"%3A\"Winamp2-js\"%7D%7D%5D%7D" \ No newline at end of file + to = "/#%7B\"initialTracks\"%3A%5B%7B\"url\"%3A\"https%3A%2F%2Fcdn.changelog.com%2Fuploads%2Fpodcast%2F291%2Fthe-changelog-291.mp3\"%2C\"metaData\"%3A%7B\"artist\"%3A\"Changelog%20Podcast\"%2C\"title\"%3A\"Winamp2-js\"%7D%7D%5D%7D" +[[redirects]] + from = "/about" + to = "https://github.com/captbaritone/webamp" \ No newline at end of file