From 35d7e0ec8bf728ff3da6c9e44feec367c5d55545 Mon Sep 17 00:00:00 2001 From: Falknat Date: Mon, 12 Jan 2026 07:15:26 +0700 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=BE=D1=83=D1=82=D0=B8=D0=BD=D0=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Мелкая правка роутинга --- front_vue/public/index.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/front_vue/public/index.php b/front_vue/public/index.php index f2600dc..1455516 100644 --- a/front_vue/public/index.php +++ b/front_vue/public/index.php @@ -14,6 +14,12 @@ if (isset($routes[$path])) { exit; } +// Статические файлы из /public/ — передаём в backend +if (strpos($path, '/public/') === 0) { + require_once __DIR__ . BACKEND_PATH . '/index.php'; + exit; +} + // Всё остальное — SPA include __DIR__ . '/index.html';