<commit_before>package Smolder::Redirect;
use strict;
use warnings;
use base 'CGI::Application';

sub setup {
    my $self = shift;
    $self->run_modes(['redirect']);
    $self->start_mode('redirect');
}

sub redirect {
    my $self = shift;
    $self->header_type('redirect');
    $self->header_add(-uri => '/app');
    return "Redirecting...\n";
}

1;<commit_msg>Ran through tidy before making the redirect change<commit_after>package Smolder::Redirect;
use strict;
use warnings;
use base 'CGI::Application';

sub setup {
    my $self = shift;
    $self->run_modes( ['redirect'] );
    $self->start_mode('redirect');
}

sub redirect {
    my $self = shift;
    $self->header_type('redirect');
    $self->header_add( -uri => '/app' );
    return "Redirecting...\n";
}

1;
{'fraction_non_alphanumeric': 0.17852522639068563, 'fraction_numerical': 0.00258732212160414, 'mean_word_length': 3.8375, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3064679', 'n_tokens_mistral': 260, 'n_tokens_neox': 253, 'n_words': 62}