Fix default values & docker install
parent
8d75624431
commit
14a3ad2e2d
@ -1,4 +1,4 @@
|
||||
REACT_APP_VERSION=1.20.1
|
||||
#REACT_APP_SERVER_BASE_URL=https://...
|
||||
#PUBLIC_URL=https://...
|
||||
#BASE_URL=/.../
|
||||
REACT_APP_SERVER_BASE_URL=http://localhost:1337
|
||||
PUBLIC_URL=http://localhost:3000/planka/
|
||||
BASE_URL=/planka/
|
||||
|
||||
@ -1,17 +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="BASE_URL_PLACEHOLDER" />
|
||||
</rule>
|
||||
</rules>
|
||||
</rewrite>
|
||||
</system.webServer>
|
||||
<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="BASE_URL_PLACEHOLDER" />
|
||||
</rule>
|
||||
</rules>
|
||||
</rewrite>
|
||||
</system.webServer>
|
||||
</configuration>
|
||||
|
||||
Loading…
Reference in New Issue