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
23a5a4cc
Commit
23a5a4cc
authored
Nov 08, 2019
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
9d88930c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
scratch-web/app/config/settings.js
+10
-8
No files found.
scratch-web/app/config/settings.js
View file @
23a5a4cc
...
@@ -263,10 +263,10 @@ var settings = {
...
@@ -263,10 +263,10 @@ var settings = {
return
localsettings
.
redis
;
return
localsettings
.
redis
;
}
else
{
}
else
{
return
{
return
{
host
:
"xxxxx"
,
host
:
ENVINPUT
.
REDIS_HOST
,
port
:
xxxxx
,
port
:
ENVINPUT
.
REDIS_PORT
,
password
:
"xxxxx"
,
password
:
ENVINPUT
.
REDIS_PWD
,
db
:
xx
,
db
:
ENVINPUT
.
REDIS_DB
,
};
};
}
}
},
},
...
@@ -276,11 +276,11 @@ var settings = {
...
@@ -276,11 +276,11 @@ var settings = {
return
localsettings
.
database
;
return
localsettings
.
database
;
}
else
{
}
else
{
return
{
return
{
dbname
:
"xxxxx"
,
dbname
:
ENVINPUT
.
DB_NAME
,
user
:
"xxxx"
,
user
:
ENVINPUT
.
DB_USER
,
password
:
"xxxxx"
,
password
:
ENVINPUT
.
DB_PWD
,
config
:
{
config
:
{
host
:
'xxxxxx'
,
host
:
ENVINPUT
.
DB_HOST
,
dialect
:
'mysql'
,
dialect
:
'mysql'
,
operatorsAliases
:
false
,
operatorsAliases
:
false
,
pool
:
{
pool
:
{
...
@@ -324,4 +324,5 @@ var settings = {
...
@@ -324,4 +324,5 @@ var settings = {
}
}
};
};
settings
.
ENVINPUT
=
ENVINPUT
;
module
.
exports
=
settings
;
module
.
exports
=
settings
;
\ 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