kely 10 месяцев назад
Родитель
Сommit
ba2f2d8061
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      routes/api.php

+ 2 - 1
routes/api.php

@@ -20,7 +20,7 @@ Route::post("/login", [API\AuthController::class, "login"]);
 Route::get("file/download/{uuid}/share-file", [API\FileController::class, "downloadShareFile"])
     ->name("file.download-share-file");
 
-Route::get("file-bim-view/{file}", [API\FileController::class, "bimView"])->name("file.bim-view");
+
 
 
 Route::middleware(['auth:sanctum'])->group(function () {
@@ -177,6 +177,7 @@ Route::middleware(['auth:sanctum'])->group(function () {
         Route::delete("file/{file}/destroy", [API\FileController::class, "destroy"])->name("file.destroy");
         Route::post("file/keep-directory-upload", [API\FileController::class, "keepDirectoryUpload"])->name("file.keep-directory-upload");
         Route::delete("file/{file}/hide", [API\FileController::class, "hide"])->name("file.hide");
+        Route::get("file-bim-view/{file}", [API\FileController::class, "bimView"])->name("file.bim-view");
 
         Route::get("notification", [API\NotificationController::class, "index"])->name("notification.index");
         Route::get("notification/unread", [API\NotificationController::class, "unread"])->name("notification.unread");