Skip to content
Snippets Groups Projects
Commit f8a5ac1b authored by Kasalehlia's avatar Kasalehlia Committed by chrissi^
Browse files

status-page: add wireguard pubkey

parent 74c50f36
No related branches found
No related tags found
No related merge requests found
...@@ -117,6 +117,8 @@ ...@@ -117,6 +117,8 @@
statistics(key .. '/bytes', 'bytes') statistics(key .. '/bytes', 'bytes')
) )
end end
local wg_pubkey = util.readfile('/etc/parker/wg-pubkey')
http:prepare_content("text/html") http:prepare_content("text/html")
-%> -%>
...@@ -205,6 +207,10 @@ ...@@ -205,6 +207,10 @@
<dd>batman-adv <%| nodeinfo.software['batman-adv'].version %> (compat<%| nodeinfo.software['batman-adv'].compat %>)</dd> <dd>batman-adv <%| nodeinfo.software['batman-adv'].version %> (compat<%| nodeinfo.software['batman-adv'].compat %>)</dd>
<%- end %> <%- end %>
<%- end %> <%- end %>
<% if wg_pubkey then -%>
<dt>Wireguard Key</dt>
<dd><%| wg_pubkey %></dd>
<%- end %>
</dl> </dl>
</div> </div>
<div class="frame"> <div class="frame">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment