Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
vridge-docs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
JIRA
JIRA
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Gyeongho Park
vridge-docs
Commits
5edf1ffa
Commit
5edf1ffa
authored
Feb 09, 2023
by
Gyeongho Park
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MOD] API 호스트 변경
parent
c9a3cd3e
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
8 deletions
+7
-8
Dockerfile
docs-back/Dockerfile
+1
-1
application.yml
docs-back/src/main/resources/application.yml
+1
-1
default.vue
docs-front/layouts/default.vue
+1
-1
nuxt.config.js
docs-front/nuxt.config.js
+2
-3
index.vue
docs-front/pages/_guide/index.vue
+1
-1
index.vue
docs-front/pages/index.vue
+1
-1
No files found.
docs-back/Dockerfile
View file @
5edf1ffa
...
...
@@ -3,5 +3,5 @@ FROM openjdk:11
WORKDIR
/app
ADD
build/libs/docs-0.0.1-SNAPSHOT.jar docs-back.jar
EXPOSE
500
5
EXPOSE
500
0
ENTRYPOINT
["java","-Dspring.profiles.active=deploy","-Djava.net.preferIPv4Stack=true", "-jar","./docs-back.jar"]
docs-back/src/main/resources/application.yml
View file @
5edf1ffa
...
...
@@ -8,7 +8,7 @@ spring:
mongodb
:
host
:
mongodb
port
:
27017
database
:
vridge
database
:
vridge
-docs
username
:
vridge-admin
password
:
vazil523320!
mvc
:
...
...
docs-front/layouts/default.vue
View file @
5edf1ffa
...
...
@@ -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
})
...
...
docs-front/nuxt.config.js
View file @
5edf1ffa
...
...
@@ -109,9 +109,8 @@ export default {
},
axios
:{
host
:
"http://localhost"
,
port
:
"5000"
,
prefix
:
"/"
,
host
:
"http://docs.vridgeai.com"
,
prefix
:
"/api"
,
},
healthCheck
:
{
...
...
docs-front/pages/_guide/index.vue
View file @
5edf1ffa
...
...
@@ -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
}
...
...
docs-front/pages/index.vue
View file @
5edf1ffa
...
...
@@ -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
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment