Browse files

fix for recent mojo: run with 'app->start' instead of 'shagadelic'

The default way to run Mojolicious apps seems to have changed
over the last 6 months.

Without this fix, on recent Mojo versions the server starts fine
but dispatching is severely broken. Requesting the index page
(among others) triggers an infinite dispatch loop for the server,
with page never reaching the client. Static files are unreachable.

This fix resolves these issues, allowing tweetylicious to continue
showcasing development with up-to-date Perl & Mojolicious.

The mojolicious "Changes" file documents the switch;
here is the relevant section:

0.999925 2010-06-07 00:00:00

    - Switched to app->start instead of shagadelic as default way to
      start Mojolicious::Lite apps in the documentation.
  • Loading branch information...
qualiabyte committed Jan 22, 2011
1 parent 37728ec commit 57b6b8ce2a9f72910852b087d2095cbfdca8e127
Showing with 1 addition and 1 deletion.
  1. +1 −1
@@ -320,7 +320,7 @@ package main;
# let's rock and roll!

0 comments on commit 57b6b8c

Please sign in to comment.