Web Viewer: fjern sandbox, rydd bokmerker

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
vegard 2026-03-20 04:20:03 +00:00
parent 599afafc21
commit d8472b0e0b

View file

@ -72,16 +72,16 @@
const isAdmin = typeof window !== 'undefined' && window.location.hostname === 'adm.synops.no';
const bookmarks = [
{ label: 'Hjem', url: 'https://ws.synops.no' },
{ label: 'Synops.no', url: 'https://synops.no' },
...(isAdmin ? [
{ label: 'Hjem', url: 'https://ws.synops.no' },
{ label: 'Admin', url: 'https://ws.synops.no/admin' },
{ label: 'Helse', url: 'https://ws.synops.no/admin/health' },
{ label: 'Jobber', url: 'https://ws.synops.no/admin/jobs' },
{ label: 'Forbruk', url: 'https://ws.synops.no/admin/usage' },
{ label: 'Auth', url: 'https://auth.synops.no' },
{ label: 'Git', url: 'https://git.synops.no' },
] : []),
{ label: 'Git', url: 'https://git.synops.no' },
{ label: 'Synops.no', url: 'https://synops.no' },
];
</script>
@ -118,7 +118,6 @@
class="wv-frame"
src={url}
title="Web Viewer"
sandbox="allow-same-origin allow-scripts allow-forms allow-popups"
></iframe>
{:else}
<div class="wv-empty">