mirror of
https://github.com/cmur2/openvpn-status-web.git
synced 2024-12-22 12:54:24 +01:00
Return [body] since String stopped including Enumerable in 1.9
This commit is contained in:
parent
f015eaec05
commit
b7c8906c3b
@ -34,7 +34,7 @@ class OpenVPNStatusWeb
|
|||||||
client_list, routing_table, global_stats = read_status_log(@file)
|
client_list, routing_table, global_stats = read_status_log(@file)
|
||||||
|
|
||||||
html = main_tmpl.result(binding)
|
html = main_tmpl.result(binding)
|
||||||
[200, {"Content-Type" => "text/html"}, html]
|
[200, {"Content-Type" => "text/html"}, [html]]
|
||||||
end
|
end
|
||||||
|
|
||||||
def read_template(file)
|
def read_template(file)
|
||||||
|
Loading…
Reference in New Issue
Block a user