mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
Remove dud log line
This commit is contained in:
parent
82d5ac908d
commit
0e93250cc9
@ -144,7 +144,6 @@ func (s Site) Router() *gin.Engine {
|
|||||||
|
|
||||||
if page != "" && cmd == "/read" {
|
if page != "" && cmd == "/read" {
|
||||||
p := s.Open(page)
|
p := s.Open(page)
|
||||||
fmt.Printf("p: '%+v'\n", p)
|
|
||||||
if p != nil && p.IsPublished {
|
if p != nil && p.IsPublished {
|
||||||
return false // Published pages don't require auth.
|
return false // Published pages don't require auth.
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user