]> git.ipfire.org Git - thirdparty/google/fonts.git/commitdiff
tags.html: do not include refs/head/main in url 8415/head
authorMarc Foley <m.foley.88@gmail.com>
Thu, 24 Oct 2024 10:07:47 +0000 (11:07 +0100)
committerMarc Foley <m.foley.88@gmail.com>
Thu, 24 Oct 2024 10:07:47 +0000 (11:07 +0100)
.ci/tags.html

index b09000a4a9a390001a505be41d47002c9ec72ba9..36b9c4706f0cd65a3ff9ca7cb32c2b44a46010c3 100644 (file)
     methods: {
       updateURL() {
         const url = new URL(window.location);
-        if (this.commit) {
+        if (this.commit && this.commit !== "refs/heads/main") {
           url.searchParams.set('commit', this.commit);
         } else {
           url.searchParams.delete('commit');