Skip to content

Commit

Permalink
feat(templates): replace the cdn links to the assets with the static …
Browse files Browse the repository at this point in the history
…ones
  • Loading branch information
danvergara committed Oct 31, 2023
1 parent a94024e commit df3f7f2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/partials/htmx.tmpl
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{{define "htmx"}}
<script src="https://unpkg.com/htmx.[email protected]" integrity="sha384-FhXw7b6AlE/jyjlZH5iHa/tTe9EpJ1Y55RjcgPbjeWMskSxZt1v9qkxLJWNJaGni" crossorigin="anonymous"></script>
<script src="/static/htmx.min.js"></script>
{{end}}
2 changes: 1 addition & 1 deletion templates/partials/js.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
htmx.find('#progress').setAttribute('value', evt.detail.loaded/evt.detail.total * 100)
});
</script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
<script src="/static/bootstrap.min.js"></script>
{{end}}
2 changes: 1 addition & 1 deletion templates/partials/style.tmpl
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{{define "style"}}
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<link href="/static/bootstrap.min.css" rel="stylesheet"></link>
{{end}}

0 comments on commit df3f7f2

Please sign in to comment.