mirror of
https://codeberg.org/vlw/vlw.se.git
synced 2026-04-13 01:39:40 +02:00
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:
parent
57884d4a25
commit
990bf289c1
1 changed files with 4 additions and 0 deletions
|
|
@ -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'),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue