diff --git a/.idea/workspace.xml b/.idea/workspace.xml index f37f0a5..101407f 100755 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,8 +2,9 @@ - - + + + @@ -15,7 +16,11 @@ + + + + diff --git a/client/appveyor.yml b/client/appveyor.yml new file mode 100644 index 0000000..c176fb3 --- /dev/null +++ b/client/appveyor.yml @@ -0,0 +1,14 @@ +environment: + matrix: + - nodejs_version: '10' + +install: + - ps: Install-Product node $env:nodejs_version + - npm i npminstall && node_modules\.bin\npminstall + +test_script: + - node --version + - npm --version + - npm run test + +build: off diff --git a/client/public/index.html b/client/public/index.html index eecdaa0..f86de1c 100644 --- a/client/public/index.html +++ b/client/public/index.html @@ -3,7 +3,8 @@ - + + <%= htmlWebpackPlugin.options.title %> diff --git a/client/src/utils/request.ts b/client/src/utils/request.ts index 9baecf2..01806c2 100644 --- a/client/src/utils/request.ts +++ b/client/src/utils/request.ts @@ -2,7 +2,7 @@ import axios, {AxiosRequestConfig, Method} from 'axios'; import cookie from 'js-cookie'; const request = async ({method = 'post' as Method, url = '', body = {}, timeout = 8000}) => { - const origin = 'http://192.168.0.105:7001/node'; + const origin = 'http://192.168.0.101:7001/node'; // const origin = 'http://172.22.72.70:7001/node'; if (!url) { return Promise.reject('Request url is null!'); diff --git a/client/src/views/game.vue b/client/src/views/game.vue index 8543d53..afaf2bf 100644 --- a/client/src/views/game.vue +++ b/client/src/views/game.vue @@ -1,9 +1,11 @@