Merge 7e0a1974d9 into f84166406f
commit
259585aebc
@ -1 +1,4 @@
|
|||||||
REACT_APP_VERSION=1.20.1
|
REACT_APP_VERSION=1.20.1
|
||||||
|
REACT_APP_SERVER_BASE_URL=http://localhost:1337
|
||||||
|
PUBLIC_URL=http://localhost/planka-a-moi/
|
||||||
|
BASE_URL=/planka/
|
||||||
|
|||||||
@ -1 +1,9 @@
|
|||||||
# Planka client
|
# Planka client
|
||||||
|
|
||||||
|
## IIS install
|
||||||
|
The build package for IIS requires URL rewrite module https://www.iis.net/downloads/microsoft/url-rewrite
|
||||||
|
The web.config file is provided as is and should be enough. You might have to modify it to suit your needs.
|
||||||
|
|
||||||
|
## Apache install
|
||||||
|
The build package for Apache requires mod_rewrite module https://httpd.apache.org/docs/2.4/fr/mod/mod_rewrite.html
|
||||||
|
The .htaccess file is provided as is and should be enough. You might have to modify it to suit your needs.
|
||||||
|
|||||||
@ -0,0 +1,7 @@
|
|||||||
|
Options -MultiViews
|
||||||
|
|
||||||
|
<IfModule mod_rewrite.c>
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
RewriteRule ^ index.html [QSA,L]
|
||||||
|
</IfModule>
|
||||||
@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<configuration>
|
||||||
|
<system.webServer>
|
||||||
|
<rewrite>
|
||||||
|
<rules>
|
||||||
|
<rule name="React Routes" stopProcessing="true">
|
||||||
|
<match url=".*" />
|
||||||
|
<conditions logicalGrouping="MatchAll">
|
||||||
|
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
|
||||||
|
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
|
||||||
|
</conditions>
|
||||||
|
<action type="Rewrite" url="{.}" />
|
||||||
|
</rule>
|
||||||
|
</rules>
|
||||||
|
</rewrite>
|
||||||
|
</system.webServer>
|
||||||
|
</configuration>
|
||||||
Loading…
Reference in New Issue