forked from Open-CT/OpenPBL
refactor: update config files
This commit is contained in:
parent
842003aa38
commit
d28839fb87
|
@ -1,21 +1,19 @@
|
|||
appname = OpenPBL
|
||||
httpaddr = 127.0.0.1
|
||||
httpaddr = 0.0.0.0
|
||||
autorender = false
|
||||
copyrequestbody = true
|
||||
EnableDocs = true
|
||||
SessionOn = true
|
||||
copyrequestbody = true
|
||||
|
||||
runmode = dev
|
||||
|
||||
httpport = 5000
|
||||
driverName = mysql
|
||||
dataSourceName = root:root@tcp(localhost:3306)/
|
||||
dataSourceName = root:123@tcp(localhost:3306)/
|
||||
dbName = openpbl_db
|
||||
|
||||
jwtSecret = CasdoorSecret
|
||||
|
||||
casdoorEndpoint = http://localhost:8000
|
||||
clientId=
|
||||
clientSecret=
|
||||
casdoorOrganization="openct"
|
||||
casdoorEndpoint =
|
||||
clientId =
|
||||
clientSecret =
|
||||
casdoorOrganization = "openct"
|
15
web/.env
15
web/.env
|
@ -1,13 +1,14 @@
|
|||
REACT_APP_BASE_URL='http://localhost:5000/api'
|
||||
|
||||
REACT_APP_OSS_REGION='oss-cn-hangzhou'
|
||||
REACT_APP_OSS_ACCESSKEYID=''
|
||||
REACT_APP_OSS_ACCESSKEYSECRET=''
|
||||
REACT_APP_OSS_BUCKET=''
|
||||
REACT_APP_OSS_ACCESSKEYID=
|
||||
REACT_APP_OSS_ACCESSKEYSECRET=
|
||||
REACT_APP_OSS_BUCKET=
|
||||
|
||||
REACT_APP_CASDOOR_ENDPOINT='http://localhost:8000'
|
||||
REACT_APP_CASDOOR_ENDPOINT=
|
||||
|
||||
REACT_APP_CLIENT_ID=''
|
||||
REACT_APP_APP_NAME=''
|
||||
REACT_APP_CASDOOR_ORGANIZATION=''
|
||||
REACT_APP_CLIENT_ID=
|
||||
REACT_APP_APP_NAME=
|
||||
REACT_APP_CASDOOR_ORGANIZATION='openct'
|
||||
|
||||
GENERATE_SOURCEMAP=false
|
Loading…
Reference in New Issue