commit 834bf28

grunfink  ·  2026-04-02 14:41:21 +0000 UTC
parent 7e668d9
Only purge static directories if configured in server.json.
1 files changed,  +3, -1
M data.c
M data.c
+3, -1
 1@@ -4422,7 +4422,9 @@ void purge_user(snac *snac)
 2         }
 3     }
 4 
 5-    purge_static(snac);
 6+    /* purge static directories, if so desired */
 7+    if (xs_is_true(xs_dict_get(srv_config, "purge_static")))
 8+        purge_static(snac);
 9 
10     /* unrelated to purging, but it's a janitorial process, so what the hell */
11     verify_links(snac);