Skip to content

Commit

Permalink
remove extra / from clockview, otherwise bundle will not load and …
Browse files Browse the repository at this point in the history
…search for domain `bundle`

fixes nightscout#4860 (review)
  • Loading branch information
PieterGit authored and PieterGit committed Aug 20, 2019
1 parent 7a064b2 commit e143142
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion views/clockviews/shared.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<!DOCTYPE html>
<html>
<head>
Expand Down Expand Up @@ -36,7 +37,7 @@
<div id="staleTime"></div>
</div>
</main>
<script src="/<%= locals.bundle %>/js/bundle.clock.js?v=<%= locals.cachebuster %>"></script>
<script src="<%= locals.bundle %>/js/bundle.clock.js?v=<%= locals.cachebuster %>"></script>

<script type="text/javascript">
var clockFace = "<%= face %>"; // can now be used in scripts
Expand Down

0 comments on commit e143142

Please sign in to comment.