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';