|
|
@@ -191,6 +191,10 @@ Route::group(['prefix' => 'v2'],function(){
|
|
|
return file_get_contents(public_path("app/palicanon/category/{$file}.json"));
|
|
|
});
|
|
|
|
|
|
+ Route::get('offline-index', function () {
|
|
|
+ return file_get_contents(storage_path("app/public/export/offline/index.json"));
|
|
|
+ });
|
|
|
+
|
|
|
Route::get('guide/{lang}/{file}', function ($lang,$file) {
|
|
|
$filename = public_path("app/users_guide/{$lang}/{$file}.md");
|
|
|
if(file_exists($filename)){
|