add version info and GitHub link on index

This commit is contained in:
杨黄林
2023-09-10 23:29:55 +08:00
parent 92f3e6fe23
commit 5cdf8cc380
6 changed files with 15 additions and 2 deletions

View File

@@ -38,6 +38,7 @@ var loadServerInfo = (function ($) {
function renderServerInfo(data) {
var html = layui.laytpl($('#serverInfoTemplate').html()).render(data);
$('#content').html(html);
$('#frpVersion').text(data.version);
renderTrafficChart(data);
renderCountChart(data);