From 0012182d8653dd7c3d72caf20c6048bfb2aaa11d Mon Sep 17 00:00:00 2001
From: Eliot Berriot <contact@eliotberriot.com>
Date: Mon, 21 Jan 2019 14:06:46 +0100
Subject: [PATCH] Added front redirection and updated contribution instructions

---
 CONTRIBUTING.rst          | 2 +-
 front/src/router/index.js | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst
index c2d36485..9c59fd4b 100644
--- a/CONTRIBUTING.rst
+++ b/CONTRIBUTING.rst
@@ -43,7 +43,7 @@ Setup front-end only development environment
 
 4. Launch the development server::
 
-    # this will serve the front-end on http://localhost:8000
+    # this will serve the front-end on http://localhost:8000/front/
     VUE_PORT=8000 yarn serve
 
 5. Make the front-end talk with an existing server (like https://demo.funkwhale.audio),
diff --git a/front/src/router/index.js b/front/src/router/index.js
index 492cbd61..1b60a681 100644
--- a/front/src/router/index.js
+++ b/front/src/router/index.js
@@ -54,6 +54,11 @@ export default new Router({
       name: 'index',
       component: Home
     },
+    {
+      path: '/front',
+      name: 'front',
+      redirect: '/'
+    },
     {
       path: '/about',
       name: 'about',
-- 
GitLab