diff options
author | Nat Lasseter <user@4574.co.uk> | 2025-03-31 14:34:22 +0100 |
---|---|---|
committer | Nat Lasseter <user@4574.co.uk> | 2025-03-31 14:34:22 +0100 |
commit | f7c3cad76620dd1834fc8514b3bb24e9d39f440e (patch) | |
tree | 622d1132fd415f58453b2ae608c185e6ecaaa800 /cgi/user.cgi | |
parent | 299231f03660b8abeabec67becebad974463b988 (diff) |
[Bracket API] cgi typo and fix api single
Diffstat (limited to 'cgi/user.cgi')
-rwxr-xr-x | cgi/user.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/user.cgi b/cgi/user.cgi index 1af3b0b..cc36bb6 100755 --- a/cgi/user.cgi +++ b/cgi/user.cgi @@ -94,7 +94,7 @@ when /^\/stuff-i-want/ when /^\/bracket-api/ load "bracket-api.cgi" $cgi.out({ - type: "application/json", + "Content-Type": "application/json", "Access-Control-Allow-Origin": "https://dan.york.ac.uk", "Access-Control-Allow-Headers": "cache-control, pragma" }) { $pdata } |