Skip to content
This repository has been archived by the owner on Oct 16, 2021. It is now read-only.

baepo setting #3

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion front/src/api/constants.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export default {
API_URL : 'http://127.0.0.1:8000/api/',
// API_URL : 'http://127.0.0.1:8000/api/',
API_URL : 'http://k3c202.ssafy.io:8000/api/',
}
106 changes: 0 additions & 106 deletions front/src/components/base/ArticleCreate.vue

This file was deleted.

32 changes: 0 additions & 32 deletions front/src/components/base/Heart.vue

This file was deleted.

3 changes: 2 additions & 1 deletion front/src/components/base/ProgramSlider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
},
methods: {
get_program() {
axios.get(`http://127.0.0.1:8000/api/program/`)
// axios.get(`http://127.0.0.1:8000/api/program/`)
axios.get(`http://k3c202.p.ssafy.io:8000/api/program/`)
.then((res)=>{
this.programs = res.data
})
Expand Down
3 changes: 2 additions & 1 deletion front/src/components/base/TrainerSlider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
},
methods: {
get_trainer() {
axios.get(`http://127.0.0.1:8000/api/trainer/`)
// axios.get(`http://127.0.0.1:8000/api/trainer/`)
axios.get(`http://k3c202.p.ssafy.io:8000/api/trainer/`)
.then((res)=>{
this.trainers = res.data
})
Expand Down
3 changes: 2 additions & 1 deletion front/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ import UUID from 'vue-uuid'
import VideoBg from 'vue-videobg'

import io from 'socket.io-client';
const socket = io('http://localhost:3000');
// const socket = io('http://localhost:3000');
const socket = io('http://k3c202.p.ssafy.io:3000');
Vue.prototype.$socket = socket;

Vue.use(VueCookies)
Expand Down