mirror of
https://github.com/kevin-DL/revel-cmd.git
synced 2026-01-11 18:54:31 +00:00
@@ -97,13 +97,13 @@ func testApp(args []string) {
|
|||||||
defer cmd.Kill()
|
defer cmd.Kill()
|
||||||
revel.INFO.Printf("Testing %s (%s) in %s mode\n", revel.AppName, revel.ImportPath, mode)
|
revel.INFO.Printf("Testing %s (%s) in %s mode\n", revel.AppName, revel.ImportPath, mode)
|
||||||
|
|
||||||
var httpAddr = revel.HttpAddr
|
var httpAddr = revel.HTTPAddr
|
||||||
if httpAddr == "" {
|
if httpAddr == "" {
|
||||||
httpAddr = "127.0.0.1"
|
httpAddr = "127.0.0.1"
|
||||||
}
|
}
|
||||||
|
|
||||||
var httpProto = "http"
|
var httpProto = "http"
|
||||||
if revel.HttpSsl {
|
if revel.HTTPSsl {
|
||||||
httpProto = "https"
|
httpProto = "https"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user