Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
b50561aa
Commit
b50561aa
authored
Nov 09, 2019
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
519e9771
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
ipop-web/app/config/settings.js
+9
-8
No files found.
ipop-web/app/config/settings.js
View file @
b50561aa
...
...
@@ -54,10 +54,10 @@ var settings = {
return
localsettings
.
redis
;
}
else
{
return
{
host
:
"xxxxx"
,
port
:
xxxxx
,
password
:
"xxxxx"
,
db
:
xx
,
host
:
ENVINPUT
.
REDIS_HOST
,
port
:
ENVINPUT
.
REDIS_PORT
,
password
:
ENVINPUT
.
REDIS_PWD
,
db
:
ENVINPUT
.
REDIS_DB
,
};
}
},
...
...
@@ -67,11 +67,11 @@ var settings = {
return
localsettings
.
database
;
}
else
{
return
{
dbname
:
"xxxxx"
,
user
:
"xxxx"
,
password
:
"xxxxx"
,
dbname
:
ENVINPUT
.
DB_NAME
,
user
:
ENVINPUT
.
DB_USER
,
password
:
ENVINPUT
.
DB_PWD
,
config
:
{
host
:
'xxxxxx'
,
host
:
ENVINPUT
.
DB_HOST
,
dialect
:
'mysql'
,
operatorsAliases
:
false
,
pool
:
{
...
...
@@ -90,4 +90,5 @@ var settings = {
}
}
};
settings
.
ENVINPUT
=
ENVINPUT
;
module
.
exports
=
settings
;
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