mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
Update User model
This commit is contained in:
parent
343757b1ea
commit
ff3925dd1d
1 changed files with 1 additions and 1 deletions
|
@ -34,6 +34,6 @@ class User extends Authenticatable
|
||||||
|
|
||||||
public function url()
|
public function url()
|
||||||
{
|
{
|
||||||
return url('/' . $this->username);
|
return url(config('app.url') . '/@' . $this->username);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue