From 01f4e47d414c338a1ece4f965843be8aedcf7391 Mon Sep 17 00:00:00 2001 From: cebgcontract <99630598+cebgcontract@users.noreply.github.com> Date: Thu, 17 Nov 2022 13:59:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=AD=A3=E5=BC=8F=E7=89=88?= =?UTF-8?q?=E7=9A=84=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 2 +- package.json | 4 +++- public/desktop.html | 2 +- public/mobile.html | 2 +- src/views/mobile/Signup.vue | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.env.production b/.env.production index 574ed3b..33e24cc 100644 --- a/.env.production +++ b/.env.production @@ -1 +1 @@ -VUE_APP_API_HOST='http://192.168.100.83:3000' \ No newline at end of file +VUE_APP_API_HOST='https://invitation.cebggame.com' \ No newline at end of file diff --git a/package.json b/package.json index 9e9e3c3..5f73397 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", - "lint": "vue-cli-service lint" + "lint": "vue-cli-service lint", + "deploy:prod": "rm -f ./dist/.DS_Store && aws s3 sync ./dist s3://activity.cebg.games --acl public-read", + "refresh:prod": "aws cloudfront create-invalidation --distribution-id E3DQJTHKOKHHZ7 --paths \"/*\"" }, "dependencies": { "axios": "^1.1.3", diff --git a/public/desktop.html b/public/desktop.html index 487fc2a..32086de 100755 --- a/public/desktop.html +++ b/public/desktop.html @@ -308,7 +308,7 @@ var checkActivity = function (address, cb) { var settings = { - url: "http://192.168.100.83:3000/aa1/user_status", + url: "https://invitation.cebggame.com/aa1/user_status", method: "POST", headers: { "Content-Type": "application/json", diff --git a/public/mobile.html b/public/mobile.html index 2666a0b..354e86c 100755 --- a/public/mobile.html +++ b/public/mobile.html @@ -417,7 +417,7 @@ var checkActivity = function (address, cb) { var settings = { - url: "http://192.168.100.83:3000/aa1/user_status", + url: "https://invitation.cebggame.com/aa1/user_status", method: "POST", headers: { "Content-Type": "application/json", diff --git a/src/views/mobile/Signup.vue b/src/views/mobile/Signup.vue index 0cc25c4..ec5994f 100644 --- a/src/views/mobile/Signup.vue +++ b/src/views/mobile/Signup.vue @@ -7,7 +7,7 @@