fix bugs
This commit is contained in:
@@ -65,6 +65,8 @@ server {
|
|||||||
alias /var/www/public/sveden/;
|
alias /var/www/public/sveden/;
|
||||||
index index.html;
|
index index.html;
|
||||||
try_files $uri $uri/ /sveden/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 {
|
location = /sveden {
|
||||||
@@ -74,7 +76,9 @@ server {
|
|||||||
location /abitur/ {
|
location /abitur/ {
|
||||||
alias /var/www/public/abitur/;
|
alias /var/www/public/abitur/;
|
||||||
index index.html;
|
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 {
|
location = /abitur {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ use App\Containers\Article\Models\Post;
|
|||||||
use App\Containers\Article\UI\WEB\Transformers\PostItemResource;
|
use App\Containers\Article\UI\WEB\Transformers\PostItemResource;
|
||||||
use App\Ship\Enums\CacheKeys;
|
use App\Ship\Enums\CacheKeys;
|
||||||
use App\Ship\Contracts\SeoServiceInterface;
|
use App\Ship\Contracts\SeoServiceInterface;
|
||||||
use App\Ship\Requests\Request;
|
|
||||||
use Carbon\Carbon;
|
use Carbon\Carbon;
|
||||||
use Illuminate\Support\Facades\Cache;
|
use Illuminate\Support\Facades\Cache;
|
||||||
use Inertia\Inertia;
|
use Inertia\Inertia;
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ namespace App\Containers\Article\UI\WEB\Transformers;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
use App\Ship\Requests\Request;
|
|
||||||
use App\Ship\Resources\JsonResource;
|
use App\Ship\Resources\JsonResource;
|
||||||
|
|
||||||
class CategoryResource extends JsonResource
|
class CategoryResource extends JsonResource
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
namespace App\Containers\Article\UI\WEB\Transformers;
|
namespace App\Containers\Article\UI\WEB\Transformers;
|
||||||
|
|
||||||
|
|
||||||
use App\Ship\Requests\Request;
|
use Illuminate\Http\Request;
|
||||||
use App\Ship\Resources\JsonResource;
|
use App\Ship\Resources\JsonResource;
|
||||||
|
|
||||||
class TagResource extends 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\BudgetEducation;
|
||||||
use App\Ship\Enums\Education\FormEducation;
|
use App\Ship\Enums\Education\FormEducation;
|
||||||
use App\Ship\Enums\Education\LevelEducational;
|
use App\Ship\Enums\Education\LevelEducational;
|
||||||
use App\Ship\Requests\Request;
|
use Illuminate\Http\Request;
|
||||||
use Illuminate\Support\Facades\Cache;
|
use Illuminate\Support\Facades\Cache;
|
||||||
use Illuminate\Support\Str;
|
use Illuminate\Support\Str;
|
||||||
use Inertia\Inertia;
|
use Inertia\Inertia;
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ use App\Containers\Event\UI\WEB\Transformers\EventResource;
|
|||||||
use App\Ship\Contracts\SeoServiceInterface;
|
use App\Ship\Contracts\SeoServiceInterface;
|
||||||
use App\Ship\Controllers\Controller;
|
use App\Ship\Controllers\Controller;
|
||||||
use App\Ship\Enums\CacheKeys;
|
use App\Ship\Enums\CacheKeys;
|
||||||
use App\Ship\Requests\Request;
|
use Illuminate\Http\Request;
|
||||||
use Carbon\Carbon;
|
use Carbon\Carbon;
|
||||||
use DateTime;
|
use DateTime;
|
||||||
use Illuminate\Support\Facades\Cache;
|
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\Contracts\SeoServiceInterface;
|
||||||
use App\Ship\Controllers\Controller;
|
use App\Ship\Controllers\Controller;
|
||||||
use App\Ship\Enums\CacheKeys;
|
use App\Ship\Enums\CacheKeys;
|
||||||
use App\Ship\Requests\Request;
|
use Illuminate\Http\Request;
|
||||||
use Illuminate\Support\Facades\Cache;
|
use Illuminate\Support\Facades\Cache;
|
||||||
use Inertia\Inertia;
|
use Inertia\Inertia;
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace App\Containers\Search\Services;
|
namespace App\Containers\Search\Services;
|
||||||
|
|
||||||
use App\Ship\Requests\Request;
|
use Illuminate\Http\Request;
|
||||||
use Illuminate\Support\Facades\Cache;
|
use Illuminate\Support\Facades\Cache;
|
||||||
use Illuminate\Support\Facades\Log;
|
use Illuminate\Support\Facades\Log;
|
||||||
use Illuminate\Support\Str;
|
use Illuminate\Support\Str;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
namespace App\Containers\Widget\UI\WEB\Controllers;
|
namespace App\Containers\Widget\UI\WEB\Controllers;
|
||||||
|
|
||||||
use App\Ship\Controllers\Controller;
|
use App\Ship\Controllers\Controller;
|
||||||
use App\Ship\Requests\Request;
|
use Illuminate\Http\Request;
|
||||||
|
|
||||||
class TvController extends Controller
|
class TvController extends Controller
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -49,6 +49,14 @@ class DirectionStudyResource extends Resource
|
|||||||
})
|
})
|
||||||
->helperText('Полное название направления подготовки'),
|
->helperText('Полное название направления подготовки'),
|
||||||
|
|
||||||
|
TextInput::make('uuid')
|
||||||
|
->label('uuid')
|
||||||
|
->required()
|
||||||
|
->maxLength(255)
|
||||||
|
->unique(ignoreRecord: true)
|
||||||
|
->helperText('UUID'),
|
||||||
|
|
||||||
|
|
||||||
TextInput::make('slug')
|
TextInput::make('slug')
|
||||||
->label('URL-идентификатор')
|
->label('URL-идентификатор')
|
||||||
->required()
|
->required()
|
||||||
|
|||||||
Reference in New Issue
Block a user