Help for this page

Select Code to Download


  1. or download this
    behind_proxy: 1
    
  2. or download this
    <link rel="stylesheet" href="<% request.uri_base %>/css/style.css">
    
  3. or download this
    get '/' => needs login => sub {
        # ...
    ...
            template index => {error => 'Wrong username or password'}
        }
    };
    
  4. or download this
      <link rel="stylesheet" href="css/style.css">
    
  5. or download this
    plugins:
      Auth::Tiny:
        login_route: /prefix/login