We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ee76a6 commit 1278390Copy full SHA for 1278390
Router-Example/Note.md
@@ -0,0 +1,17 @@
1
+# Router Important note.
2
+If you build a router with Elroid, add these so that when https://copy.reactmvc.ir/about is refreshed, you will not get a 404 error.
3
+<br>
4
+
5
+For Apache
6
+```
7
+RewriteEngine On
8
+RewriteCond %{REQUEST_FILENAME} !-f
9
+RewriteRule ^(.*)$ index.html [L,QSA]
10
11
+For Nginx
12
13
+ location / {
14
+ try_files $uri $uri/ /index.html;
15
+ }
16
+ ```
17
+Apache in the .htaccess file and Nginx in the nginx.conf file
0 commit comments