fix(server): render share theme on prod

This commit is contained in:
Elian Doran
2025-06-09 21:58:56 +03:00
parent 64e857362f
commit 4216a71a85
2 changed files with 6 additions and 1 deletions

View File

@@ -7,7 +7,7 @@
<link rel="shortcut icon" href="<% if (note.hasRelation("shareFavicon")) { %>api/notes/<%= note.getRelation("shareFavicon").value %>/download<% } else { %>../favicon.ico<% } %>">
<script src="<%= appPath %>/share.js" type="module"></script>
<% if (!isDev && !note.isLabelTruthy("shareOmitDefaultCss")) { %>
<link href="<%= assetPath %>/stylesheets/share.css" rel="stylesheet">
<link href="<%= assetPath %>/src/share.css" rel="stylesheet">
<% } %>
<% for (const cssRelation of note.getRelations("shareCss")) { %>