3
0

ajout d'info disponible à partir de l'appli web

This commit is contained in:
karchnu 2016-01-19 05:26:54 +01:00
parent 3996187366
commit 1e6c7fd300

View File

@ -31,6 +31,11 @@ our $isviewtest = is_view_test(get_cfg());
our $VERSION = '0.1'; our $VERSION = '0.1';
get '/info' => sub {
my $str = "This is : " . config->{appname} . "<br>";
$str .= "environment : " . config->{environment} . "<br>";
};
sub what_is_next { sub what_is_next {
my ($res) = @_; my ($res) = @_;