Commit 5edf1ffa authored by Gyeongho Park's avatar Gyeongho Park

[MOD] API 호스트 변경

parent c9a3cd3e
......@@ -3,5 +3,5 @@ FROM openjdk:11
WORKDIR /app
ADD build/libs/docs-0.0.1-SNAPSHOT.jar docs-back.jar
EXPOSE 5005
EXPOSE 5000
ENTRYPOINT ["java","-Dspring.profiles.active=deploy","-Djava.net.preferIPv4Stack=true", "-jar","./docs-back.jar"]
......@@ -8,7 +8,7 @@ spring:
mongodb:
host: mongodb
port: 27017
database: vridge
database: vridge-docs
username: vridge-admin
password: vazil523320!
mvc:
......
......@@ -360,7 +360,7 @@ export default{
async getGuideIndex() {
this.loadingPageList = true
await this.$axios.get('http://localhost:5000/index')
await this.$axios.get('http://docs.vridgeai.com/api/index')
.then(res => {
this.guideIndex = res.data.body
})
......
......@@ -109,9 +109,8 @@ export default {
},
axios:{
host: "http://localhost",
port: "5000",
prefix: "/",
host: "http://docs.vridgeai.com",
prefix: "/api",
},
healthCheck: {
......
......@@ -164,7 +164,7 @@ export default {
methods:{
async getGuide(){
this.loading = true
await this.$axios.get('http://localhost:5000/guide',{
await this.$axios.get('http://docs.vridgeai.com/api',{
params:{
guideId: this.$store.state.guideId
}
......
......@@ -38,7 +38,7 @@ export default {
getGuideIndex() {
this.$store.state.guideId = null
this.$store.commit('setGuide', {guideId:null, flag:false})
this.$axios.get('http://localhost:5000/index')
this.$axios.get('http://docs.vridgeai.com/api/index')
.then(res => {
this.guideIndex = res.data.body
})
......
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