Skip to content

Commit

Permalink
fix relative URLs for resources
Browse files Browse the repository at this point in the history
  • Loading branch information
Fanman03 committed May 17, 2023
1 parent 9598fbf commit 43d998c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "camviewerplus",
"version": "1.1.1",
"version": "1.1.2",
"description": "A customizable browser-based RTSP viewer with multiple grid views.",
"main": "app.js",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions views/layouts/main.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
</p>
</div>
<div class="modal-footer bg-dark fs-6">
<span><img src="assets/camviewer.png" class="thornhill-logo pe-2" title="A Thornhill Corporation project."><a href="https://github.com/Fanman03/CamViewerPlus">CamViewerPlus</a> v{{{version}}} by <a href="https://github.com/Fanman03">Jack Pendleton</a></span>
<span><img src="/assets/camviewer.png" class="thornhill-logo pe-2" title="A Thornhill Corporation project."><a href="https://github.com/Fanman03/CamViewerPlus">CamViewerPlus</a> v{{{version}}} by <a href="https://github.com/Fanman03">Jack Pendleton</a></span>
</div>
</div>
</div>
Expand Down Expand Up @@ -350,10 +350,10 @@
$(".thornhill-logo").on({
mouseenter: function () {
$(".thornhill-logo").attr("src","assets/thornhill.png");
$(".thornhill-logo").attr("src","/assets/thornhill.png");
},
mouseleave: function () {
$(".thornhill-logo").attr("src","assets/camviewer.png");
$(".thornhill-logo").attr("src","/assets/camviewer.png");
}
});
Expand Down

0 comments on commit 43d998c

Please sign in to comment.