euchre-live

Euchre web-app for the socially distant family
git clone git://git.alexkarle.com/euchre-live.git
Log | Files | Refs | README | LICENSE

commit 39e3e7b9712e4aea50120c92095653846ea77900 (patch)
parent 42a91f2241dba9887fa04522140a9fa1c8e21514
Author: Alex Karle <alex@karle.co>
Date:   Thu, 23 Apr 2020 00:18:14 -0400

server: Send /stats as format 'txt'

Othewise it wraps it in HTML which makes it look awful in a browser!

Plaintext for the win, as always.

Diffstat:
Mgloat.pl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gloat.pl b/gloat.pl @@ -24,7 +24,7 @@ get '/debug' => sub { get '/stats' => sub { my $c = shift; - $c->render(text => stats); + $c->render(text => stats, format => 'txt'); }; websocket '/play' => sub {