Skip to content

Commit

Permalink
UI update changelog link (#12766) (#12776)
Browse files Browse the repository at this point in the history
* Update changelog link

* Update test
  • Loading branch information
hashishaw committed Oct 11, 2021
1 parent 6a45bae commit a1488e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/lib/core/addon/helpers/changelog-url-for.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ etc.
*/

export function changelogUrlFor([version]) {
let url = 'https://www.github.com/hashicorp/vault/blob/master/CHANGELOG.md#';
let url = 'https://www.github.com/hashicorp/vault/blob/main/CHANGELOG.md#';

try {
// strip the '+prem' from enterprise versions and remove periods
Expand Down
2 changes: 1 addition & 1 deletion ui/tests/integration/helpers/changelog-url-for-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { changelogUrlFor } from '../../../helpers/changelog-url-for';

const CHANGELOG_URL = 'https://www.github.com/hashicorp/vault/blob/master/CHANGELOG.md#';
const CHANGELOG_URL = 'https://www.github.com/hashicorp/vault/blob/main/CHANGELOG.md#';

module('Integration | Helper | changelog-url-for', function(hooks) {
setupRenderingTest(hooks);
Expand Down

0 comments on commit a1488e2

Please sign in to comment.