Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pisns-forum-api
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
scrmGroup
pisns-forum-api
Commits
9f59740a
Commit
9f59740a
authored
Aug 18, 2015
by
陈志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SANDBOX-init
parent
5d141c90
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
config.js
config/config.js
+2
-2
express.js
config/express.js
+1
-1
No files found.
config/config.js
View file @
9f59740a
...
@@ -33,7 +33,7 @@ var config = {
...
@@ -33,7 +33,7 @@ var config = {
}
}
},
},
test
:
{
sandbox
:
{
root
:
rootPath
,
root
:
rootPath
,
app
:
{
app
:
{
name
:
'pisns-forum-api'
name
:
'pisns-forum-api'
...
@@ -55,7 +55,7 @@ var config = {
...
@@ -55,7 +55,7 @@ var config = {
devCDNURL
:
'http://dev.fs.wxpai.cn/'
devCDNURL
:
'http://dev.fs.wxpai.cn/'
},
},
sessionStore
:
{
sessionStore
:
{
password
:
''
,
password
:
'
future123456
'
,
port
:
6379
,
port
:
6379
,
host
:
'10.161.177.181'
,
host
:
'10.161.177.181'
,
db
:
2
db
:
2
...
...
config/express.js
View file @
9f59740a
...
@@ -36,7 +36,7 @@ module.exports = function(app, config) {
...
@@ -36,7 +36,7 @@ module.exports = function(app, config) {
store
:
new
redisStore
({
store
:
new
redisStore
({
host
:
config
.
sessionStore
.
host
,
host
:
config
.
sessionStore
.
host
,
port
:
config
.
sessionStore
.
port
,
port
:
config
.
sessionStore
.
port
,
prefix
:
'
node
-session-'
,
prefix
:
'
sandbox
-session-'
,
pass
:
config
.
sessionStore
.
password
,
pass
:
config
.
sessionStore
.
password
,
ttl
:
86400
ttl
:
86400
}),
}),
...
...
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