OTA Endpoint Impruvements

This commit is contained in:
2020-07-15 12:54:45 +02:00
parent 275aa97688
commit 1996b08311
7 changed files with 69 additions and 478 deletions

View File

@@ -12,8 +12,7 @@ RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule . - [e=HTTP_AUTHORIZATION:%1]
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_FILENAME} !api.php
RewriteCond %{REQUEST_FILENAME} !apiFront.php
RewriteCond %{REQUEST_URI} !^/api/update
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
AddType application/x-httpd-php .php .phtml