@@ -149,12 +149,12 @@ |
||
149 | 149 | } |
150 | 150 | |
151 | 151 | $text = $this->writer |
152 | - ->generate() |
|
153 | - ->getText(); |
|
152 | + ->generate() |
|
153 | + ->getText(); |
|
154 | 154 | |
155 | 155 | if ($this->writer->getComments()) { |
156 | 156 | $text .= '# Cache is '.($this->cache ? 'enabled with key "'.$this->cacheKey.'"' : 'disabled').'.'.PHP_EOL. |
157 | - '#'.PHP_EOL; |
|
157 | + '#'.PHP_EOL; |
|
158 | 158 | } |
159 | 159 | |
160 | 160 | if ($this->cache) { |
@@ -6,7 +6,7 @@ |
||
6 | 6 | * @version v0.3.2 |
7 | 7 | */ |
8 | 8 | Route::get('/.well-known/security.txt', '\AustinHeap\Security\Txt\SecurityTxtController@show') |
9 | - ->name('security.txt'); |
|
9 | + ->name('security.txt'); |
|
10 | 10 | |
11 | 11 | Route::get('/security.txt', function () { |
12 | 12 | return redirect()->route('security.txt'); |