1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 00:05:29 +00:00

Update web routes, fix atom feeds for account usernames containing a dot

This commit is contained in:
Daniel Supernault 2022-01-25 00:05:00 -07:00
parent 80c4126d48
commit 8c54ab57ac
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -516,7 +516,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
Route::group(['prefix' => 'users'], function () { Route::group(['prefix' => 'users'], function () {
Route::redirect('/', '/'); Route::redirect('/', '/');
Route::get('{user}.atom', 'ProfileController@showAtomFeed'); Route::get('{user}.atom', 'ProfileController@showAtomFeed')->where('user', '.*');
Route::get('{username}/outbox', 'FederationController@userOutbox'); Route::get('{username}/outbox', 'FederationController@userOutbox');
Route::get('{username}/followers', 'FederationController@userFollowers'); Route::get('{username}/followers', 'FederationController@userFollowers');
Route::get('{username}/following', 'FederationController@userFollowing'); Route::get('{username}/following', 'FederationController@userFollowing');