[pve-devel] [PATCH 3/3] pveproxy: add routing to novnc dirs

Alexandre Derumier aderumier at odiso.com
Mon Jun 2 01:50:20 CEST 2014


From: Stefan Priebe <s.priebe at profihost.ag>

Signed-off-by: Stefan Priebe <s.priebe at profihost.ag>
Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 bin/pveproxy |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/bin/pveproxy b/bin/pveproxy
index aec049b..11423af 100755
--- a/bin/pveproxy
+++ b/bin/pveproxy
@@ -83,6 +83,9 @@ eval {
     add_dirs($dirs, '/pve2/css/' => '/usr/share/pve-manager/css/');
     add_dirs($dirs, '/pve2/js/' => '/usr/share/pve-manager/js/');
     add_dirs($dirs, '/vncterm/' => '/usr/share/vncterm/');
+    add_dirs($dirs, '/novnc/images/' => '/usr/share/novnc/images/');
+    add_dirs($dirs, '/novnc/include/' => '/usr/share/novnc/include/');
+    add_dirs($dirs, '/novnc/' => '/usr/share/pve-manager/novnc/');
 
     $daemon = PVE::APIDaemon->new(
 	base_handler_class => 'PVE::API2',
-- 
1.7.10.4




More information about the pve-devel mailing list