Commit 40d3d89623
Unsigned
Layout: unified · split
app/wrapper.go +1 −1
| @@ -185,7 +185,7 @@ func (s skunkyart) Deviation(author, postname string) { | ||
| 185 | 185 | return |
| 186 | 186 | } |
| 187 | 187 | |
| 188 | if post.Post.Deviation.NSFW { | |
| 188 | if post.Post.Deviation.NSFW && !CFG.Nsfw { | |
| 189 | 189 | s.Writer.WriteHeader(403) |
| 190 | 190 | wr(s.Writer, `<html><link rel="stylesheet" href="`+ |
| 191 | 191 | UrlBuilder("stylesheet")+ |