Convert all env() calls to config() calls
This commit is contained in:
parent
e032cd5861
commit
b4df7a1bbb
10 changed files with 61 additions and 14 deletions
|
@ -61,7 +61,7 @@ class SendWebMentions implements ShouldQueue
|
|||
public function discoverWebmentionEndpoint($url, $guzzle)
|
||||
{
|
||||
//let’s not send webmentions to myself
|
||||
if (parse_url($url, PHP_URL_HOST) == env('LONG_URL', 'localhost')) {
|
||||
if (parse_url($url, PHP_URL_HOST) == config('app.longurl')) {
|
||||
return false;
|
||||
}
|
||||
if (starts_with($url, '/notes/tagged/')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue