6c893201 by xiemengjun

fix

1 parent 9c618145
...@@ -36,10 +36,9 @@ Here is the canonical "Hello, world" example app for beego: ...@@ -36,10 +36,9 @@ Here is the canonical "Hello, world" example app for beego:
36 //beego.HttpPort = 8080 // default 36 //beego.HttpPort = 8080 // default
37 beego.Run() 37 beego.Run()
38 } 38 }
39 ```
39 40
40 default port:8080 41 http get http://localhost:8080/
41
42 http get http://localhost:8080
43 HTTP/1.1 200 OK 42 HTTP/1.1 200 OK
44 Content-Type: text/plain; charset=utf-8 43 Content-Type: text/plain; charset=utf-8
45 Date: Sat, 15 Dec 2012 16:03:00 GMT 44 Date: Sat, 15 Dec 2012 16:03:00 GMT
...@@ -408,4 +407,4 @@ after set the log levels, in the logs function which below the setlevels willn't ...@@ -408,4 +407,4 @@ after set the log levels, in the logs function which below the setlevels willn't
408 407
409 after set levels to beego.LevelError 408 after set levels to beego.LevelError
410 409
411 Trace, Debug, Info, Warn will not output anything. So you can change it when in dev and prod mode. 410 Trace, Debug, Info, Warn will not output anything. So you can change it when in dev and prod mode.
...\ No newline at end of file ...\ No newline at end of file
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!