aboutsummaryrefslogtreecommitdiff
path: root/Caddyfile
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-04-01 13:05:33 +0200
committerNatasha Moongrave <natasha@256phi.eu>2026-04-01 13:05:33 +0200
commit30a3a504d9cfbb5d9159749608bdcdbac5243bbf (patch)
tree46010f7992108d89660b1540ffaa775ecfc6ae9b /Caddyfile
parent84a00a9396e32524a0db82737cfa5239eba2891d (diff)
Modified the submission system for commissions to save to a json isntead of sending emaik
Diffstat (limited to 'Caddyfile')
-rw-r--r--Caddyfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Caddyfile b/Caddyfile
index ff902c8..404b190 100644
--- a/Caddyfile
+++ b/Caddyfile
@@ -2,6 +2,10 @@
# Site's directory
root * /var/www/html/src
+ # Block direct access to JSON data files
+ @jsonFiles path *.json
+ respond @jsonFiles 404
+
# Enable the static file server.
file_server