<commit_before><?php namespace GeneaLabs\LaravelGovernor\Providers;

use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;

class Route extends ServiceProvider
{
    protected $namespace = 'GeneaLabs\LaravelGovernor\Http\Controllers';

    public function map()
    {
        $this->mapApiRoutes();
        $this->mapWebRoutes();
    }

    protected function mapWebRoutes()
    {
        app("router")
            ->prefix(config('genealabs-laravel-governor.url-prefix'))
            ->middleware('web')
            ->as('genealabs.laravel-governor.')
            ->namespace($this->namespace)
            ->group(__DIR__ . '/../../routes/web.php');
    }

    protected function mapApiRoutes()
    {
        app("router")
            ->prefix('api' . config('genealabs-laravel-governor.url-prefix'))
            ->middleware([
                "auth:api",
                "bindings",
                "throttle:60,1",
            ])
            ->namespace($this->namespace . "\Api")
            ->group(__DIR__ . '/../../routes/api.php');
    }
}<commit_msg>Remove throttle limit on API<commit_after><?php namespace GeneaLabs\LaravelGovernor\Providers;

use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;

class Route extends ServiceProvider
{
    protected $namespace = 'GeneaLabs\LaravelGovernor\Http\Controllers';

    public function map()
    {
        $this->mapApiRoutes();
        $this->mapWebRoutes();
    }

    protected function mapWebRoutes()
    {
        app("router")
            ->prefix(config('genealabs-laravel-governor.url-prefix'))
            ->middleware('web')
            ->as('genealabs.laravel-governor.')
            ->namespace($this->namespace)
            ->group(__DIR__ . '/../../routes/web.php');
    }

    protected function mapApiRoutes()
    {
        app("router")
            ->prefix('api' . config('genealabs-laravel-governor.url-prefix'))
            ->middleware([
                "auth:api",
                "bindings",
            ])
            ->namespace($this->namespace . "\Api")
            ->group(__DIR__ . '/../../routes/api.php');
    }
}
{'fraction_non_alphanumeric': 0.15217391304347827, 'fraction_numerical': 0.0013876040703052729, 'mean_word_length': 2.0811965811965814, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 29, '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': '479765', 'n_tokens_mistral': 632, 'n_tokens_neox': 612, 'n_words': 89}