krz/skunky-art

Alternative privacy frontend for DeviantArt.

clone: git clone https://gitbay.org/krz/skunky-art.git

40d3d89623836fbcdea6efbcdbc4611f20528cfe

unsigned

author: lost+skunk <skunky@macaw.me> · 2025-02-23T19:03:02Z

ы
 app/wrapper.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/wrapper.go b/app/wrapper.go
index 5fe1dde..ef1fb31 100644
--- a/app/wrapper.go
+++ b/app/wrapper.go
@@ -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")+