From 4d4e48b8e5035c150216b4b8e48aed54fc477a55 Mon Sep 17 00:00:00 2001
From: iliya <iliya.saroukha@hes-so.ch>
Date: Sat, 13 Jan 2024 15:58:37 +0100
Subject: [PATCH] feat: fixing hashes

---
 templates/base.html           | 2 +-
 templates/index.html          | 2 +-
 templates/messages.html       | 4 ++--
 templates/password_reset.html | 2 +-
 templates/public_profile.html | 4 ++--
 templates/reportedPosts.html  | 2 +-
 6 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/templates/base.html b/templates/base.html
index 4c88d59..a61cd74 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -19,7 +19,7 @@
 <body>
     {{ template "nav" . }}
     {{ template "content" . }}
-    <script integrity="sha384-ugweC/kAs9x+OyLL8KgSLbINUovPSHZvkShmFj+xFOi+uvEWDFRnOVZm5+1gWJ7r" crossorigin="anonymous">
+    <script integrity="sha384-RCmUeGDm/0z7qjkMPO++90GnVpv4BPGiE4TdrRbppw0DHPLAwxKRfrv+517imnEk" crossorigin="anonymous">
         MathJax = {
             tex: {
                 inlineMath: [['$', '$'], ['\\(', '\\)']]
diff --git a/templates/index.html b/templates/index.html
index 15e2aa6..22f65ff 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -100,7 +100,7 @@
                                         <span class="small text-muted font-weight-normal"> • </span>
                                         <span class="small text-muted font-weight-normal">
                                             <script
-                                                integrity="sha384-I7hpstL3JZSvqmvrdu4dtRJdQVq05DXy+3i+cRxs7r6no2IqmTMV/KoOb1xUxXU9"
+                                                integrity="sha384-X6fFs+33RbaLB2QyQKhODqTpovExqXBBIHr/1QvS6UrZRwvkb9EfCjtOnZH6FXaD"
                                                 crossorigin="anonymous">
                                                     document.write(
                                                         new Date({{ .Timestamp}} * 1000).toLocaleTimeString('ch-CH', {
diff --git a/templates/messages.html b/templates/messages.html
index 47ba0e4..df8073b 100644
--- a/templates/messages.html
+++ b/templates/messages.html
@@ -86,7 +86,7 @@
         <ul class="list-group list-group-light">
             {{ range $key, $value := .MapConv }}
             <li class="list-group-item d-flex justify-content-between align-items-center">
-                <script integrity="sha384-tx+BAjWAc7um+Tn14q8wa5FGi5XpV8gPZ3Rm3AXYVIfvtggl2YvkM+NpIRaM+0a7"
+                <script integrity="sha384-Hj9Zg/2obOOm4nZ1T2Q7ptp+fYPKAgl98aaV58MOcfT5hko1L3BpRO7JBWwcre2u"
                     crossorigin="anonymous">
                         otherPersonPic = "{{ $value.ProfilePic }}"
                     </script>
@@ -144,7 +144,7 @@
     </div>
 </div>
 
-<script integrity="sha384-Z2NWi0grbE5QoxQNrdzqRklcdjkuZPtG08Tt/npaX+Cs8IICCiGw8/nyf/1KjsBF" crossorigin="anonymous">
+<script integrity="sha384-57wT0maCBkc9SUiinG+6D34xtc0KNsctQBxmj13cH2Rgr8SRsbM7KEIG8qNnokTR" crossorigin="anonymous">
     function getMessagesWithConvId(id, userName, myPic, otherPersonPic) {
         let myHeaders = new Headers();
         console.log("test ::" + id)
diff --git a/templates/password_reset.html b/templates/password_reset.html
index e0289d1..3ce024b 100644
--- a/templates/password_reset.html
+++ b/templates/password_reset.html
@@ -33,7 +33,7 @@
 
     </div>
 
-    <script integrity="sha384-ugweC/kAs9x+OyLL8KgSLbINUovPSHZvkShmFj+xFOi+uvEWDFRnOVZm5+1gWJ7r" crossorigin="anonymous">
+    <script integrity="sha384-RCmUeGDm/0z7qjkMPO++90GnVpv4BPGiE4TdrRbppw0DHPLAwxKRfrv+517imnEk" crossorigin="anonymous">
         MathJax = {
             tex: {
                 inlineMath: [['$', '$'], ['\\(', '\\)']]
diff --git a/templates/public_profile.html b/templates/public_profile.html
index 1023247..c112307 100644
--- a/templates/public_profile.html
+++ b/templates/public_profile.html
@@ -164,7 +164,7 @@
 
                         <button type="button" class="btn btn-outline-primary ms-1" onclick="startMessaging(this.id)"
                             id="{{ .UserData.UserId }}">Message</button>
-                        <script integrity="sha384-EAvYp0YNvL2lBbToDbFTIrcJRDsZomMl8ILxDm9G7q2YIqWFWIjy9jmzhjJkfQ/f"
+                        <script integrity="sha384-prkjKY6BK8S+/cssiOWBYWjD6jNXAQZ/37WZhrzC+i1IgDNvWYUpEgT54Hofpny3"
                             crossorigin="anonymous">
                                 function startMessaging(idChatter) {
                                     let myHeaders = new Headers();
@@ -248,7 +248,7 @@
                         <span class="small text-muted font-weight-normal">@{{ .UserName }}</span>
                         <span class="small text-muted font-weight-normal"> • </span>
                         <span class="small text-muted font-weight-normal">
-                            <script integrity="sha384-I7hpstL3JZSvqmvrdu4dtRJdQVq05DXy+3i+cRxs7r6no2IqmTMV/KoOb1xUxXU9"
+                            <script integrity="sha384-X6fFs+33RbaLB2QyQKhODqTpovExqXBBIHr/1QvS6UrZRwvkb9EfCjtOnZH6FXaD"
                                 crossorigin="anonymous">
                                     document.write(
                                         new Date({{ .Timestamp}} * 1000).toLocaleTimeString('ch-CH', {
diff --git a/templates/reportedPosts.html b/templates/reportedPosts.html
index eea6d8f..05b173e 100644
--- a/templates/reportedPosts.html
+++ b/templates/reportedPosts.html
@@ -60,7 +60,7 @@
                                         <span class="small text-muted font-weight-normal"> • </span>
                                         <span class="small text-muted font-weight-normal">
                                             <script
-                                                integrity="sha384-I7hpstL3JZSvqmvrdu4dtRJdQVq05DXy+3i+cRxs7r6no2IqmTMV/KoOb1xUxXU9"
+                                                integrity="sha384-X6fFs+33RbaLB2QyQKhODqTpovExqXBBIHr/1QvS6UrZRwvkb9EfCjtOnZH6FXaD"
                                                 crossorigin="anonymous">
                                                     document.write(
                                                         new Date({{ .Timestamp}} * 1000).toLocaleTimeString('ch-CH', {
-- 
GitLab