This commit is contained in:
Kilian committed 2021-08-02 16:41:21 +02:00
1 parent 04a2c243b2
commit b97301906d
4 files changed
+21 -12

No files matched your search

+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', '.*');