use Mojolicious::Lite;
push @{app->static->paths}, 'E:/portablePerl';
get '/' => sub {
my $c = shift;
$c->reply->static('qrcode.jpg');
};
app->start('daemon', '-l', 'http://*:8080');
0 回复
添加回复
请先登陆