Add master server Web Root config

Add web_root option to the master server and use it create URLs for
resources hosted by it.  This permits hosting the master server web
interface behind reverse proxy under a dedicated path.
This commit is contained in:
Hornwitser committed 2020-04-04 10:05:37 +02:00
1 parent 5e9d9097e1
commit 8ebf0fc754
9 files changed
+27 -15

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
<!doctype HTML>
<head>
<%- include("head") %>
<script defer src="/subspace_storage/storage.js"></script>
<script defer src="<%= locals.root %>subspace_storage/storage.js"></script>
</head>
<body>