2016-09-26 06:30:00 +00:00
|
|
|
<?php
|
|
|
|
|
2020-09-06 18:21:39 +00:00
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
|
2016-09-26 06:30:00 +00:00
|
|
|
Route::get('/', function () {
|
|
|
|
return view('index');
|
|
|
|
});
|
|
|
|
|
|
|
|
// Some backward compatibilities.
|
|
|
|
Route::get('/♫', function () {
|
|
|
|
return redirect('/');
|
|
|
|
});
|
2017-08-27 15:53:17 +00:00
|
|
|
|
|
|
|
Route::get('/remote', function () {
|
|
|
|
return view('remote');
|
|
|
|
});
|
2020-09-06 21:11:48 +00:00
|
|
|
|
|
|
|
Route::get('/lastfm/connect', 'API\LastfmController@connect')
|
|
|
|
->name('lastfm.connect');
|
|
|
|
|
|
|
|
Route::get('/lastfm/callback', 'API\LastfmController@callback')
|
|
|
|
->name('lastfm.callback');
|