From 890b8b8e112935591572e2b336ffe192e020e038 Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Tue, 20 Oct 2020 16:15:04 +0200 Subject: [PATCH] fix default route --- src/components/Main.vue | 2 +- src/router.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/Main.vue b/src/components/Main.vue index 69edf89..93f113f 100644 --- a/src/components/Main.vue +++ b/src/components/Main.vue @@ -115,7 +115,7 @@ export default { * Fetching radio stations using Radio-Browser.info API */ 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 this.$jquery.getJSON('https://de1.api.radio-browser.info/json/stations', { diff --git a/src/router.js b/src/router.js index 1e03786..53ca4fa 100644 --- a/src/router.js +++ b/src/router.js @@ -13,8 +13,7 @@ export default new Router({ routes: [ { path: '/', - component: Main, - name: 'TOP', + redirect: '/top', }, { path: '/top',