Skip to content

Commit

Permalink
Merge pull request #201 from terwer/v4.x
Browse files Browse the repository at this point in the history
feat: update deps and fix issues
  • Loading branch information
terwer committed Mar 8, 2024
2 parents 2923fe5 + 1fca9bc commit 7c36e24
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docker-compose-with-rds.yml
Expand Up @@ -43,7 +43,7 @@ services:
# - npm_config_unsafe_perm=true
# restart: "no"
jvue-artalk:
image: terwer/jvue-artalk:2.1
image: jvue/artalk:2.8.3
container_name: jvue-artalk
build:
context: ./
Expand Down
2 changes: 1 addition & 1 deletion jvue-artalk/Dockerfile
@@ -1,4 +1,4 @@
FROM artalk/artalk-go:2.1
FROM artalk/artalk-go:2.8.3
#镜像创建者的信息
LABEL maintainer="terwer<youweics@163.com>"

Expand Down
8 changes: 5 additions & 3 deletions jvue-front/nuxt.config.js
@@ -1,6 +1,9 @@
const pkg = require("./package");

const development = process.env.NODE_ENV !== "production";
// 后端接口地址
const JVUE_SERVER_URL =
process.env.JVUE_SERVER_URL ?? "http://localhost:8008/api";
console.log("JVUE_SERVER_URL =>", JVUE_SERVER_URL);

module.exports = {
debug: true,
Expand Down Expand Up @@ -62,8 +65,7 @@ module.exports = {
*/
axios: {
// See https://github.com/nuxt-community/axios-module#options
baseURL: "http://localhost:8008/api"
// baseURL: development ? "http://localhost:8008/api" : "http://localhost/api"
baseURL: JVUE_SERVER_URL
},

/*
Expand Down

0 comments on commit 7c36e24

Please sign in to comment.