Web Viewer: admin-bokmerker kun på adm.synops.no
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
f37cc5bb27
commit
599afafc21
1 changed files with 10 additions and 6 deletions
|
|
@ -68,14 +68,18 @@
|
|||
requestAnimationFrame(() => { url = current; });
|
||||
}
|
||||
|
||||
// Hurtiglenker
|
||||
// Hurtiglenker — admin-bokmerker bare for admin-host
|
||||
const isAdmin = typeof window !== 'undefined' && window.location.hostname === 'adm.synops.no';
|
||||
|
||||
const bookmarks = [
|
||||
{ label: 'Hjem', url: 'https://ws.synops.no' },
|
||||
...(isAdmin ? [
|
||||
{ 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: 'Synops.no', url: 'https://synops.no' },
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue