Skip to content

Commit 4891cd2

Browse files
committed
Add todo
1 parent 6dc386a commit 4891cd2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/realtime-compiler/src/Routing/Router.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ public function handle(): Response
3636
$virtualRoutes = app(RealtimeCompiler::class)->getVirtualRoutes();
3737

3838
if (isset($virtualRoutes[$this->request->path])) {
39+
// Todo: Also check that there is no file based page with the same path since that should take precedence
40+
3941
return $virtualRoutes[$this->request->path];
4042
}
4143

0 commit comments

Comments
 (0)