Commit e0c4b126 authored by shj's avatar shj

[MOD] axi 요청 url 수정

parent 7f195dc7
......@@ -334,7 +334,7 @@ export default{
async getGuideIndex(){
this.loadingPageList = true
await this.$axios.get('http://localhost:5000/test/index')
await this.$axios.get('/test/index')
.then(res => {
this.rawIndexList = JSON.parse(JSON.stringify(res.data));
let unclassifiedList = JSON.parse(JSON.stringify(res.data));
......@@ -512,7 +512,7 @@ export default{
return
}
this.$axios.post('http://localhost:5000/test', this.formData)
this.$axios.post('/test', this.formData)
.then(res=>{
this.getGuideIndex()
})
......@@ -528,7 +528,7 @@ export default{
return
}
this.$axios.put('http://localhost:5000/test/index', this.formData)
this.$axios.put('/test/index', this.formData)
.then(res=>{
this.getGuideIndex()
})
......@@ -537,7 +537,7 @@ export default{
})
},
removeIndex(){
this.$axios.delete("http://localhost:5000/test", {
this.$axios.delete("/test", {
params:{
guideId: this.formData.id,
}
......
......@@ -143,7 +143,7 @@ export default {
methods:{
async getGuide(id){
this.loading = true
await this.$axios.get('http://localhost:5000/test',{
await this.$axios.get('/test',{
params:{
guideId: id
}
......
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