Update routes, support .well-known/change-password

This commit is contained in:
Daniel Supernault 2019-02-24 22:34:52 -07:00
parent caac0a02d1
commit c3aa407b9a
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -55,6 +55,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
Route::get('.well-known/webfinger', 'FederationController@webfinger')->name('well-known.webfinger'); Route::get('.well-known/webfinger', 'FederationController@webfinger')->name('well-known.webfinger');
Route::get('.well-known/nodeinfo', 'FederationController@nodeinfoWellKnown')->name('well-known.nodeinfo'); Route::get('.well-known/nodeinfo', 'FederationController@nodeinfoWellKnown')->name('well-known.nodeinfo');
Route::get('.well-known/host-meta', 'FederationController@hostMeta')->name('well-known.hostMeta'); Route::get('.well-known/host-meta', 'FederationController@hostMeta')->name('well-known.hostMeta');
Route::redirect('.well-known/change-password', '/settings/password');
Route::get('/home', 'HomeController@index')->name('home'); Route::get('/home', 'HomeController@index')->name('home');