@@ -1 +1 @@
-VUE_APP_API_URL=http://192.168.1.14:8011
+VUE_APP_API_URL=http://192.168.1.14:8011/
@@ -3,9 +3,8 @@ import Vue from 'vue'
import router from './router'
const http = axios.create({
- baseURL: process.env.VUE_APP_API_URL || '/api',
+ baseURL: process.env.VUE_APP_API_URL || '/api/',
// baseURL: process.env.VUE_APP_API_URL,
- // baseURL: 'http://192.168.10.168:8080'
})
@@ -19,7 +19,7 @@ export default {
methods: {
fetch() {
this.$http
- .get("/thing/station")
+ .get("thing/station")
.then((res) => {
console.log(res.data);
this.data = res.data;