kopia lustrzana https://github.com/c9/core
Fixes +6222. Default to auth
rodzic
c6e4d503f1
commit
f6f1183ce0
|
@ -84,6 +84,9 @@ module.exports = function(config, optimist) {
|
|||
if (testing && argv.k)
|
||||
require("child_process").exec("tmux -L cloud91.9 kill-server", function(){});
|
||||
|
||||
var isLocalhost = host == "localhost" || host == "127.0.0.1";
|
||||
if (argv.auth == ":" && !isLocalhost)
|
||||
argv.auth = "admin:admin";
|
||||
var auth = argv.auth.split(":");
|
||||
|
||||
var plugins = [
|
||||
|
|
Ładowanie…
Reference in New Issue