openvibers/openvibe.search Commits

The network's app icon on the search page (link tags only; its inline script would break the no-inline-script CSP), so browsers stop asking for a missing /favicon.ico

OP OpenVibers committed 24 Sept 2026 · 0db444ffe9 · 1 file, +1 −0


Changes

ddiff --git a/server/web/page.js b/server/web/page.js
iindex b831e30..f4dbc34 100644
---- a/server/web/page.js
++++ b/server/web/page.js
@@@ -79,6 +79,7 @@ function layout({ title, q, owner, type, body, noindex }) {
<title>${esc(title)}</title>
${noindex ? '<meta name="robots" content="noindex, nofollow">\n' : ''}<meta name="description" content="Search what the OpenVibe network's services have published.">
<meta name="color-scheme" content="light dark">
++${require('openvibe-shared/app-icon').headTags({ site: 'network', iconBase: `${NETWORK}/assets` }).split('\n').filter((l) => l.startsWith('<link')).join('\n')}
<script src="${NETWORK}/shared/theme-loader.js" defer></script>
<script src="${NETWORK}/shared/navbar.js" defer></script>
<script src="${NETWORK}/shared/footer.js" defer></script>