Ver Fonte

:fire: palibook

visuddhinanda há 1 ano atrás
pai
commit
54376aca4b
1 ficheiros alterados com 0 adições e 7 exclusões
  1. 0 7
      api-v8/routes/api.php

+ 0 - 7
api-v8/routes/api.php

@@ -286,13 +286,6 @@ Route::group(['prefix' => 'v2'], function () {
         file_put_contents("php://output", $content);
     });
 
-    Route::get('palibook/{file}', function ($file) {
-        if ($file === 'default') {
-            $file = "defualt";
-        }
-        return file_get_contents(public_path("app/palicanon/category/{$file}.json"));
-    });
-
     Route::get('guide/{lang}/{file}', function ($lang, $file) {
         $filename = public_path("app/users_guide/{$lang}/{$file}.md");
         if (file_exists($filename)) {