增加正式版的配置

This commit is contained in:
cebgcontract 2022-11-17 13:59:36 +08:00
parent be993ea28d
commit 01f4e47d41
5 changed files with 7 additions and 5 deletions

View File

@ -1 +1 @@
VUE_APP_API_HOST='http://192.168.100.83:3000' VUE_APP_API_HOST='https://invitation.cebggame.com'

View File

@ -5,7 +5,9 @@
"scripts": { "scripts": {
"serve": "vue-cli-service serve", "serve": "vue-cli-service serve",
"build": "vue-cli-service build", "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": { "dependencies": {
"axios": "^1.1.3", "axios": "^1.1.3",

View File

@ -308,7 +308,7 @@
var checkActivity = function (address, cb) { var checkActivity = function (address, cb) {
var settings = { var settings = {
url: "http://192.168.100.83:3000/aa1/user_status", url: "https://invitation.cebggame.com/aa1/user_status",
method: "POST", method: "POST",
headers: { headers: {
"Content-Type": "application/json", "Content-Type": "application/json",

View File

@ -417,7 +417,7 @@
var checkActivity = function (address, cb) { var checkActivity = function (address, cb) {
var settings = { var settings = {
url: "http://192.168.100.83:3000/aa1/user_status", url: "https://invitation.cebggame.com/aa1/user_status",
method: "POST", method: "POST",
headers: { headers: {
"Content-Type": "application/json", "Content-Type": "application/json",

View File

@ -7,7 +7,7 @@
</div> </div>
<iframe <iframe
id="iframe" id="iframe"
src="https://nft-mpc-test.lifo.ai/public/campaign-challenge/358" src="https://w3w.ai/public/campaign-challenge/1222"
frameborder="0" frameborder="0"
></iframe> ></iframe>
</div> </div>