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

Stefan Priebe s.priebe at profihost.ag
Mon Jun 2 09:43:33 CEST 2014


Signed-off-by: Stefan Priebe <s.priebe at profihost.ag>
---
 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