@@ -157,12 +157,12 @@ |
||
157 | 157 | } |
158 | 158 | |
159 | 159 | $text = $this->writer |
160 | - ->generate() |
|
161 | - ->getText(); |
|
160 | + ->generate() |
|
161 | + ->getText(); |
|
162 | 162 | |
163 | 163 | if ($this->writer->getComments()) |
164 | 164 | $text .= '# Cache is ' . ($this->cache ? 'enabled with key "' . $this->cacheKey . '"' : 'disabled') . '.' . PHP_EOL . |
165 | - '#' . PHP_EOL; |
|
165 | + '#' . PHP_EOL; |
|
166 | 166 | |
167 | 167 | if ($this->cache) |
168 | 168 | cache([$this->cacheKey => $text], now()->addMinutes($this->cacheTime)); |
@@ -8,7 +8,7 @@ |
||
8 | 8 | */ |
9 | 9 | |
10 | 10 | Route::get('/.well-known/security.txt', '\AustinHeap\Security\Txt\SecurityTxtController@show') |
11 | - ->name('security.txt'); |
|
11 | + ->name('security.txt'); |
|
12 | 12 | |
13 | 13 | Route::get('/security.txt', function () { |
14 | 14 | return redirect()->route('security.txt'); |