fix bugs
This commit is contained in:
@@ -103,10 +103,7 @@ server {
|
||||
deny all;
|
||||
}
|
||||
|
||||
location ~* \.(css|js|jpg|jpeg|png|gif|ico|svg|woff|woff2|ttf|otf)$ {
|
||||
expires 30d;
|
||||
add_header Cache-Control "public, no-transform";
|
||||
}
|
||||
|
||||
|
||||
# Блок для обновления Let's Encrypt (оставить!)
|
||||
location ^~ /.well-known/acme-challenge/ {
|
||||
|
||||
@@ -6,10 +6,11 @@ use App\Containers\Article\Models\Post;
|
||||
use App\Containers\Article\UI\WEB\Transformers\PostItemResource;
|
||||
use App\Ship\Enums\CacheKeys;
|
||||
use App\Ship\Contracts\SeoServiceInterface;
|
||||
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Support\Facades\Cache;
|
||||
use Inertia\Inertia;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
|
||||
|
||||
class ShowPostController extends \App\Ship\Controllers\Controller
|
||||
|
||||
Reference in New Issue
Block a user