Commit 1d7229c4 authored by xhx's avatar xhx

docs:设置

parent ed9fd412
...@@ -36,13 +36,14 @@ http://121.40.18.70:9056/ ...@@ -36,13 +36,14 @@ http://121.40.18.70:9056/
### 活动发起地址 ### 活动发起地址
``` ```
// src/constants/permission // 通过文件 src/constants/permission 修改发起活动地址
// 测试环境地址 1MwgSgsRpuMVnRLGBgs7c7VNELA4PPHM1n
``` ```
### nginx代理地址 ### nginx代理地址
``` ```
location /api { location /api {
proxy_pass http://172.16.100.93:8901/; ### 请求代理路径(平行链投票节点)
proxy_pass http://172.16.100.93:8901/;
} }
``` ```
\ No newline at end of file
export const permissionList = [ export const permissionList = process.env.NODE_ENV === 'development' ? [
// '14KEKbYtKKQm4wMthSK9J4La4nAiidGozt', // '14KEKbYtKKQm4wMthSK9J4La4nAiidGozt',
'1MwgSgsRpuMVnRLGBgs7c7VNELA4PPHM1n' // 测试地址
] : [
'1L1L1Mjd81Q1JSRKn1rQEL17wAXnBjURDk', '1L1L1Mjd81Q1JSRKn1rQEL17wAXnBjURDk',
'1KMzj1S2mEBSc1TWXfwK4B6AhW8iySzEq1', '1KMzj1S2mEBSc1TWXfwK4B6AhW8iySzEq1',
'1MwgSgsRpuMVnRLGBgs7c7VNELA4PPHM1n' // 测试地址
] ]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment