Skip to content

Commit

Permalink
preload main js bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
GHaberis committed Dec 16, 2024
1 parent 67ed4b2 commit 3c255ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions support-frontend/app/views/main.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@
<meta property="og:url" content="@shareUrl" />
}

<link href="@assets(mainJsBundle)" rel="preload" as="script">

@canonicalLink.map { definedCanonicalLink =>
<link rel="canonical" href="@definedCanonicalLink" />
}
Expand Down

0 comments on commit 3c255ce

Please sign in to comment.