Skip to content

Commit

Permalink
fix: htaccess changes
Browse files Browse the repository at this point in the history
  • Loading branch information
modelrailroader committed Jul 3, 2024
1 parent 42763da commit 0b552f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions 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|user/remove-twofactor|contact|voting|register|captcha|share|comment/create|faq/create|question/create) api/index.php [L,QSA]
RewriteRule ^api/(autocomplete|bookmark/remove/([0-9]+)|bookmark/add/([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
1 change: 1 addition & 0 deletions tests/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
RewriteBase /

0 comments on commit 0b552f2

Please sign in to comment.