File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ import (
36
36
37
37
const (
38
38
DefaultCDNHttp = "http://studygolang.qiniudn.com/"
39
- DefaultCDNHttps = "https://dn- studygolang.qbox.me /"
39
+ DefaultCDNHttps = "https://static. studygolang.com /"
40
40
)
41
41
42
42
var Build string
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ func AutoLogin() echo.MiddlewareFunc {
36
36
if user .Uid != 0 {
37
37
ctx .Set ("user" , user )
38
38
39
- if ! util .IsAjax (ctx ) {
39
+ if ! util .IsAjax (ctx ) && ctx . Path () != "/ws" {
40
40
go logic .ViewObservable .NotifyObservers (user .Uid , 0 , 0 )
41
41
}
42
42
}
Original file line number Diff line number Diff line change 20
20
< a href ="/user/{{.Username}} "> < img src ="{{gravatar .Avatar .Email 48 $.is_https}} " class ="avatar " border ="0 " align ="default "> </ a >
21
21
</ td >
22
22
< td width ="auto " align ="left ">
23
- < h2 style ="margin-bottom: 0px; margin-top: 0px; border-bottom: none; "> < span class ="gray "> {{add $i 1}}.</ span > < a class ="nobreak noul " href ="/member /{{.Username}} "> {{.Username}}</ a > </ h2 >
23
+ < h2 style ="margin-bottom: 0px; margin-top: 0px; border-bottom: none; "> < span class ="gray "> {{add $i 1}}.</ span > < a class ="nobreak noul " href ="/user /{{.Username}} "> {{.Username}}</ a > </ h2 >
24
24
25
25
< span class ="gray f12 "> {{.Monlog}}</ span >
26
26
< div class ="sep5 "> </ div >
You can’t perform that action at this time.
0 commit comments