diff --git a/build_styles.sh b/build_styles.sh index bdcbf3c..55263d0 100644 --- a/build_styles.sh +++ b/build_styles.sh @@ -3,5 +3,6 @@ if which sassc &> /dev/null; then sassc public/css/styles.scss > public/css/styles.css else + echo "No sassc" exit 1 fi diff --git a/lib/BurguillosInfo.pm b/lib/BurguillosInfo.pm index 0dc8f12..42bfffe 100644 --- a/lib/BurguillosInfo.pm +++ b/lib/BurguillosInfo.pm @@ -4,6 +4,7 @@ use Mojo::Base 'Mojolicious', -signatures; # This method will run once at server start sub startup ($self) { + $self->config(hypnotoad => {listen => ['http://localhost:3000']}); # Router my $r = $self->routes; diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index ded36a2..4c3b362 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -5,6 +5,8 @@ <%= title %> + +