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