]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: index: set Proxmox.NodeName variable
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 11 Nov 2021 19:07:23 +0000 (20:07 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 11 Nov 2021 20:02:03 +0000 (21:02 +0100)
similar to PBS. This doesn't gives unauthenticated users more info as
we already set it in the title element anyway.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/index.html.tpl

index 924916184f1a1a89c4a065ff55fc3c26584fba49..0c819977ff2290081851aeab6c5e9370fd5e46d3 100644 (file)
@@ -30,6 +30,7 @@
     Proxmox = {
        Setup: { auth_cookie_name: 'PVEAuthCookie' },
        defaultLang: '[% lang %]',
+       NodeName: '[% nodename %]',
        UserName: '[% username %]',
        CSRFPreventionToken: '[% token %]'
     };