Created
April 18, 2014 12:42
-
-
Save fabioadrianosoares/11042181 to your computer and use it in GitHub Desktop.
servidor web local mojolicious (para poder testar html e js)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Mojolicious::Lite; | |
use Mojolicious::Static; | |
use Cwd; | |
my $static = Mojolicious::Static->new; | |
$static->paths([getcwd]); | |
app->static($static); | |
app->start('daemon'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment