Skip to content

Commit b15c77d

Browse files
committed
Fix 404 error on refresh
1 parent daab846 commit b15c77d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Config/Routes.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?php
2+
3+
namespace Mihatori\CodeigniterVite\Config;
4+
5+
# Catch all routes
6+
$routes->get('(:any)', 'Home::index');

0 commit comments

Comments
 (0)