Skip to content
Snippets Groups Projects
Commit 1b5f4b30 authored by Giorgio Utzeri's avatar Giorgio Utzeri
Browse files

refacto encore..

parent 46c2e17f
No related branches found
No related tags found
No related merge requests found
package controleurs;
// code pompé ici : https://developer.okta.com/blog/2018/10/31/jwts-with-java
// lui-même inspiré par : https://www.baeldung.com/java-json-web-tokens-jjwt
// et sinon la doc : https://github.com/jwtk/jjwt/blob/master/README.md
// et réadapté grace à https://www.appsdeveloperblog.com/add-and-validate-custom-claims-in-jwt/
import java.nio.charset.StandardCharsets;
import java.time.Instant;
import java.util.Date;
......
......@@ -114,7 +114,7 @@
%>
<% if (isImage) { %>
<img src="data:image/jpeg;base64,<%= encodedImage %>" alt="Message Image"
class="contenu-img img-fluid" />
class="contenu-img img-fluid" style="max-width: 60%;" />
<% } else { %>
<p class="contenu"><%= new String(messageData, "UTF-8") %></p>
<% } %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment