Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
persona
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hexang 息壤平台
persona
Commits
3a4c6df0
Commit
3a4c6df0
authored
12 years ago
by
Brian Warner
Browse files
Options
Downloads
Plain Diff
Merge pull request #1857 from warner/small-fixes
bin/browserid: minor linty changes (semicolons)
parents
4666b6e1
0ea57136
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/browserid
+3
-3
3 additions, 3 deletions
bin/browserid
with
3 additions
and
3 deletions
bin/browserid
+
3
−
3
View file @
3a4c6df0
...
...
@@ -8,7 +8,7 @@ const
fs
=
require
(
'
fs
'
),
path
=
require
(
'
path
'
),
url
=
require
(
'
url
'
),
http
=
require
(
'
http
'
)
;
http
=
require
(
'
http
'
)
,
urlparse
=
require
(
'
urlparse
'
),
express
=
require
(
'
express
'
);
...
...
@@ -62,7 +62,7 @@ app.use(i18n.abide({
var
statsd_config
=
config
.
get
(
'
statsd
'
);
if
(
statsd_config
&&
statsd_config
.
enabled
)
{
logger_statsd
=
require
(
"
connect-logger-statsd
"
);
var
logger_statsd
=
require
(
"
connect-logger-statsd
"
);
app
.
use
(
logger_statsd
({
host
:
statsd_config
.
hostname
||
"
localhost
"
,
port
:
statsd_config
.
port
||
8125
,
...
...
@@ -157,7 +157,7 @@ db.open(config.get('database'), function (error) {
// shut down express gracefully on SIGINT
shutdown
.
handleTerminationSignals
(
app
,
function
(
readyForShutdownCB
)
{
require
(
'
../lib/bcrypt.js
'
).
shutdown
();
db
.
close
(
readyForShutdownCB
)
db
.
close
(
readyForShutdownCB
)
;
});
var
bindTo
=
config
.
get
(
'
bind_to
'
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment