Skip to content

Commit

Permalink
fix: added removal request for private API
Browse files Browse the repository at this point in the history
  • Loading branch information
modelrailroader authored and thorsten committed Jun 30, 2024
1 parent 45cdab2 commit bea18a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpmyfaq/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ Header set Access-Control-Allow-Headers "Content-Type, Authorization"
RewriteRule ^admin/api/(.*) admin/api/index.php [L,QSA]

# Private APIs
RewriteRule ^api/(autocomplete|bookmark/([0-9]+)|user/data/update|user/password/update|user/request-removal|contact|voting|register|captcha|share|comment/create|faq/create|question/create) api/index.php [L,QSA]
RewriteRule ^api/(autocomplete|bookmark/([0-9]+)|user/data/update|user/password/update|user/request-removal|user/remove-twofactor|contact|voting|register|captcha|share|comment/create|faq/create|question/create) api/index.php [L,QSA]

# Setup APIs
RewriteRule ^api/setup/(check|backup|update-database) api/index.php [L,QSA]
Expand Down

0 comments on commit bea18a5

Please sign in to comment.