Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
community_vote
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hanfeng zhang
community_vote
Commits
1d7229c4
Commit
1d7229c4
authored
Jan 07, 2022
by
xhx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs:设置
parent
ed9fd412
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
README.md
README.md
+5
-3
permission.ts
src/constants/permission.ts
+3
-3
No files found.
README.md
View file @
1d7229c4
...
@@ -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
src/constants/permission.ts
View file @
1d7229c4
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment