diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index c2d364856aa40f9cc70c4793b74df03ccf383894..9c59fd4bec8d6e3c0c2c22aed0f2cb3f90bca8aa 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 492cbd6171c3e71b7e1626f410103311cb603bec..1b60a681331fe0e0c9e58691eec1b305658fb35a 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',