Routes for React

This commit is contained in:
Kilian committed 2024-07-22 04:27:02 +02:00
1 parent 20db2301cb
commit 06ce614c2b
3 files changed
+13 -9

No files matched your search

+3 -3
View File
@@ -1,7 +1,7 @@
RewriteEngine On
RewriteBase /phpCourse/exam/dist/
RewriteBase /phpCourse/exam/dist
## Frontend routing required all non files to be rewritten to the entry point
## Disallow direct entry over the dist
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.html [L,NC,QSA]
RewriteRule ^ / [L,NC,QSA,F]