This commit is contained in:
F4ilji
2025-05-26 12:03:02 +05:00
parent dae6dcf48f
commit 00f475c9c3
10 changed files with 20 additions and 9 deletions
+5 -1
View File
@@ -65,6 +65,8 @@ server {
alias /var/www/public/sveden/;
index index.html;
try_files $uri $uri/ /sveden/index.html;
expires epoch;
add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0";
}
location = /sveden {
@@ -74,7 +76,9 @@ server {
location /abitur/ {
alias /var/www/public/abitur/;
index index.html;
try_files $uri $uri/ /sveden/index.html;
try_files $uri $uri/ /abitur/index.html;
expires epoch;
add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0";
}
location = /abitur {
@@ -6,7 +6,7 @@ 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 App\Ship\Requests\Request;
use Carbon\Carbon;
use Illuminate\Support\Facades\Cache;
use Inertia\Inertia;
@@ -4,7 +4,6 @@ namespace App\Containers\Article\UI\WEB\Transformers;
use App\Ship\Requests\Request;
use App\Ship\Resources\JsonResource;
class CategoryResource extends JsonResource
@@ -3,7 +3,7 @@
namespace App\Containers\Article\UI\WEB\Transformers;
use App\Ship\Requests\Request;
use Illuminate\Http\Request;
use App\Ship\Resources\JsonResource;
class TagResource extends JsonResource
@@ -14,7 +14,7 @@ use App\Ship\Enums\CacheKeys;
use App\Ship\Enums\Education\BudgetEducation;
use App\Ship\Enums\Education\FormEducation;
use App\Ship\Enums\Education\LevelEducational;
use App\Ship\Requests\Request;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Str;
use Inertia\Inertia;
@@ -10,7 +10,7 @@ use App\Containers\Event\UI\WEB\Transformers\EventResource;
use App\Ship\Contracts\SeoServiceInterface;
use App\Ship\Controllers\Controller;
use App\Ship\Enums\CacheKeys;
use App\Ship\Requests\Request;
use Illuminate\Http\Request;
use Carbon\Carbon;
use DateTime;
use Illuminate\Support\Facades\Cache;
@@ -9,7 +9,7 @@ use App\Containers\InstituteStructure\UI\WEB\Transformers\FacultyResource;
use App\Ship\Contracts\SeoServiceInterface;
use App\Ship\Controllers\Controller;
use App\Ship\Enums\CacheKeys;
use App\Ship\Requests\Request;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Cache;
use Inertia\Inertia;
@@ -2,7 +2,7 @@
namespace App\Containers\Search\Services;
use App\Ship\Requests\Request;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Str;
@@ -3,7 +3,7 @@
namespace App\Containers\Widget\UI\WEB\Controllers;
use App\Ship\Controllers\Controller;
use App\Ship\Requests\Request;
use Illuminate\Http\Request;
class TvController extends Controller
{
@@ -49,6 +49,14 @@ class DirectionStudyResource extends Resource
})
->helperText('Полное название направления подготовки'),
TextInput::make('uuid')
->label('uuid')
->required()
->maxLength(255)
->unique(ignoreRecord: true)
->helperText('UUID'),
TextInput::make('slug')
->label('URL-идентификатор')
->required()