austinheap/laravel-security-txt

View on GitHub
src/routes/security-txt.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
 * src/routes/security-txt.php.
 *
 * @author      Austin Heap <me@austinheap.com>
 * @version     v0.4.0
 */
Route::get('/.well-known/security.txt', '\AustinHeap\Security\Txt\SecurityTxtController@show')
     ->name('security.txt');

Route::get('/security.txt', '\AustinHeap\Security\Txt\SecurityTxtController@redirect')
     ->name('security.txt-redirect');