Help for this page

Select Code to Download


  1. or download this
    # in MyApp::Controller
    use Dancer2;
    ...
    get '/config' => sub {
        return config;
    };
    
  2. or download this
    {
       "apphandler" : "PSGI",
    ...
       "static_handler" : 1,
       "host" : "0.0.0.0"
    }