diff --git a/web/.htaccess b/web/.htaccess index dd28dbc..86946dd 100644 --- a/web/.htaccess +++ b/web/.htaccess @@ -16,6 +16,20 @@ DirectorySlash Off DirectoryIndex + + ExpiresActive On + ExpiresDefault "access plus 6 month" + Header append Cache-Control "public" + + + + ExpiresActive On + ExpiresDefault "access plus 1 week" + Header append Cache-Control "public" + + +RequestHeader append X-Author "Baoshuo ( https://baoshuo.ren )" + RewriteEngine On RewriteCond %{QUERY_STRING} ^$ diff --git a/web/app/controllers/app/image_hosting/get_image.php b/web/app/controllers/app/image_hosting/get_image.php deleted file mode 100644 index 589663c..0000000 --- a/web/app/controllers/app/image_hosting/get_image.php +++ /dev/null @@ -1,23 +0,0 @@ -get() as $idx => $row) : ?>
- +