This commit is contained in:
lost+skunk 2025-02-23 22:03:02 +03:00
parent 048bb470ab
commit 40d3d89623

View File

@ -185,7 +185,7 @@ func (s skunkyart) Deviation(author, postname string) {
return
}
if post.Post.Deviation.NSFW {
if post.Post.Deviation.NSFW && !CFG.Nsfw {
s.Writer.WriteHeader(403)
wr(s.Writer, `<html><link rel="stylesheet" href="`+
UrlBuilder("stylesheet")+