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