[pve-devel] [PATCH manager v2] pveproxy: add link to extjs for api-viewer

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Jul 25 11:21:31 CEST 2018


allows us to remove the external loading of extjs from the cloudflare
cdn in pve-docs easier with having the external hosted version in
mind.

Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---

same as in v1

 PVE/Service/pveproxy.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/PVE/Service/pveproxy.pm b/PVE/Service/pveproxy.pm
index 2d3d4cf7..b092438a 100755
--- a/PVE/Service/pveproxy.pm
+++ b/PVE/Service/pveproxy.pm
@@ -81,6 +81,7 @@ sub init {
     add_dirs($dirs, '/pve2/fa/fonts/' =>  "$basedirs->{fontawesome}/fonts/");
     add_dirs($dirs, '/pve2/fa/css/' =>  "$basedirs->{fontawesome}/css/");
     add_dirs($dirs, '/pve-docs/' => "$basedirs->{docs}/");
+    add_dirs($dirs, '/pve-docs/api-viewer/extjs/' => "$basedirs->{extjs}/");
     add_dirs($dirs, '/novnc/' => "$basedirs->{novnc}/");
     add_dirs($dirs, '/xtermjs/' => "$basedirs->{xtermjs}/");
 
-- 
2.18.0





More information about the pve-devel mailing list