fix default route
This commit is contained in:
parent
d38994f916
commit
890b8b8e11
@ -115,7 +115,7 @@ export default {
|
|||||||
* Fetching radio stations using Radio-Browser.info API
|
* Fetching radio stations using Radio-Browser.info API
|
||||||
*/
|
*/
|
||||||
loadStations() {
|
loadStations() {
|
||||||
// https://de1.api.radio-browser.info/json/stations/lastchange?limit=10
|
// FIXME https://de1.api.radio-browser.info/json/stations/lastchange?limit=10
|
||||||
const vm = this
|
const vm = this
|
||||||
this.$jquery.getJSON('https://de1.api.radio-browser.info/json/stations',
|
this.$jquery.getJSON('https://de1.api.radio-browser.info/json/stations',
|
||||||
{
|
{
|
||||||
|
@ -13,8 +13,7 @@ export default new Router({
|
|||||||
routes: [
|
routes: [
|
||||||
{
|
{
|
||||||
path: '/',
|
path: '/',
|
||||||
component: Main,
|
redirect: '/top',
|
||||||
name: 'TOP',
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/top',
|
path: '/top',
|
||||||
|
Loading…
Reference in New Issue
Block a user