This commit is contained in:
2021-08-02 16:41:21 +02:00
parent 04a2c243b2
commit b97301906d
4 changed files with 21 additions and 12 deletions
+10
View File
@@ -0,0 +1,10 @@
<?php
Route::get('/app/{path?}', function () {
if (file_exists(__DIR__."/assets/index.html")) {
$file = file_get_contents(__DIR__."/assets/index.html");
return $file;
}
else
App::abort(404);
})->where('path', '.*');