fix: add missing request methods to /ping endpoint (#74)

I forgot to add all available request methods to the ACL table for the `/ping` endpoint in #71. This PR fixes that.

Reviewed-on: https://codeberg.org/vlw/vlw.se/pulls/74
Co-authored-by: vlw <victor@vlw.se>
Co-committed-by: vlw <victor@vlw.se>
This commit is contained in:
Victor Westerlund 2026-04-06 11:38:01 +02:00 committed by Victor Westerlund
parent 57884d4a25
commit 990bf289c1

View file

@ -10,6 +10,10 @@ SET time_zone = "+00:00";
TRUNCATE TABLE `acl`;
INSERT INTO `acl` (`ref_group`, `ref_endpoint`, `method`) VALUES
(NULL, 'ping', 'DELETE'),
(NULL, 'ping', 'POST'),
(NULL, 'ping', 'PATCH'),
(NULL, 'ping', 'PUT'),
(NULL, 'ping', 'GET'),
(NULL, 'coffee', 'GET'),
(NULL, 'languages', 'GET'),