Skip to content

Commit

Permalink
fix origin link on home
Browse files Browse the repository at this point in the history
  • Loading branch information
h.u.g.u.rp committed Oct 10, 2023
1 parent 85275f2 commit f6e5b06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export default class R4Radio extends HTMLElement {

const $titleText = document.createElement("h1");
const $titleLink = document.createElement("a");
$titleLink.setAttribute("href", this.origin);
$titleLink.setAttribute("href", this.location.origin);
$titleLink.innerText = `<channel>.${this.hostname}`;
$titleText.append($titleLink);

Expand Down

1 comment on commit f6e5b06

@vercel
Copy link

@vercel vercel bot commented on f6e5b06 Oct 10, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.