Resolving /dev/null issue with WEBrick on Windows.
This commit is contained in:
parent
cef31d7bca
commit
dd5f5c70a7
|
@ -365,8 +365,8 @@ HTML
|
||||||
exit(0)
|
exit(0)
|
||||||
else
|
else
|
||||||
$verifier = nil
|
$verifier = nil
|
||||||
# TODO(bobaman): Cross-platform?
|
logger = WEBrick::Log.new
|
||||||
logger = WEBrick::Log.new('/dev/null')
|
logger.level = 0
|
||||||
server = WEBrick::HTTPServer.new(
|
server = WEBrick::HTTPServer.new(
|
||||||
:Port => OAUTH_SERVER_PORT,
|
:Port => OAUTH_SERVER_PORT,
|
||||||
:Logger => logger,
|
:Logger => logger,
|
||||||
|
|
Loading…
Reference in New Issue