Commit 6fc28415 authored by christianrhansen's avatar christianrhansen

initial commit christian

parent 064b5b29
......@@ -64,5 +64,4 @@ _book
*.epub
*.mobi
*.pdf
dist
.idea
......@@ -8,7 +8,7 @@ var
projectRoot = path.resolve(__dirname, '../'),
ProgressBarPlugin = require('progress-bar-webpack-plugin'),
appConfig = require('../package.json').appConfig,
apiHost = process.env.API_HOST || appConfig.apiHost,
apiHost = process.env.API_HOST || appConfig.apiHostLocal,
useCssSourceMap =
(env.dev && config.dev.cssSourceMap) ||
(env.prod && config.build.productionSourceMap)
......
......@@ -126,8 +126,8 @@
"author": "Motion Bank / Mainz University of Applied Sciences",
"license": "MIT",
"appConfig": {
"apiHostRem": "https://motionbank-api.herokuapp.com",
"apiHost": "http://localhost:3030",
"apiHost": "https://api.motionbank.org",
"apiHostLocal": "http://localhost:3030",
"idField": "uuid"
}
}
}
\ No newline at end of file
......@@ -53,8 +53,8 @@ const router = new VueRouter({
{ path: '/maps/create', component: maps.create, name: 'maps.create', meta: { private: false } },
{ path: '/maps/:id/edit', component: maps.edit, name: 'maps.edit', meta: { private: false } },
{ path: '/annotations/:mapId/video', component: annotations.annotateVideo, name: 'annotate.video', meta: { private: true } },
{ path: '/annotations/:mapId/edit', component: annotations.edit, name: 'annotate.edit', meta: { private: true } },
{ path: '/annotations/:mapId/video', component: annotations.annotateVideo, name: 'annotate.video', meta: { private: false } },
{ path: '/annotations/:mapId/edit', component: annotations.edit, name: 'annotate.edit', meta: { private: false } },
// Catchall
{ path: '*', component: errors.notFound, name: 'errors.notFound' }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment