remove chaine tv url

This commit is contained in:
vincent 2019-04-24 16:26:14 +02:00
parent a9b8773c72
commit 6109bdceec
2 changed files with 5 additions and 5 deletions

View File

@ -11,7 +11,7 @@ module.exports = {
assetsSubDirectory: 'static', assetsSubDirectory: 'static',
assetsPublicPath: '/', assetsPublicPath: '/',
proxyTable: { proxyTable: {
'chainetv/api/v1/chaine': { '/api/v1/chaine': {
target: 'http://localhost:5000', target: 'http://localhost:5000',
changOrigin: true changOrigin: true
} }
@ -50,10 +50,10 @@ module.exports = {
build: { build: {
// Template for index.html // Template for index.html
index: path.resolve(__dirname, '../../backend/dist/index.html'), index: path.resolve(__dirname, '../../dist/index.html'),
// Paths // Paths
assetsRoot: path.resolve(__dirname, '../../backend/dist'), assetsRoot: path.resolve(__dirname, '../../dist'),
assetsSubDirectory: 'static', assetsSubDirectory: 'static',
assetsPublicPath: '/', assetsPublicPath: '/',

View File

@ -32,7 +32,7 @@ export default {
}, },
methods: { methods: {
getchaine(num) { getchaine(num) {
let path = 'chainetv/api/v1/chaine/'; let path = '/api/v1/chaine/';
path += num; path += num;
axios.get(path) axios.get(path)
.then((res) => { .then((res) => {
@ -49,7 +49,7 @@ export default {
}, },
parsechaine() { parsechaine() {
const path = 'chainetv/api/v1/chaine/'; const path = '/api/v1/chaine/';
axios.put(path) axios.put(path)
.then((res) => { .then((res) => {
this.message = res.data; this.message = res.data;