DevWarning: fix incorrect link to live WebStudio
This commit is contained in:
parent
3169d94028
commit
5051d4d0cb
1 changed files with 3 additions and 2 deletions
|
@ -8,6 +8,7 @@ function DevWarning() {
|
||||||
if (process.env.REACT_APP_PRODUCTION === "true") {
|
if (process.env.REACT_APP_PRODUCTION === "true") {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
const wsUrl = process.env.REACT_APP_MYRADIO_NONAPI_BASE + "/MyRadio/webstudio";
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className="p-2 alert-warning">
|
<div className="p-2 alert-warning">
|
||||||
|
@ -20,8 +21,8 @@ function DevWarning() {
|
||||||
</em>
|
</em>
|
||||||
<br />
|
<br />
|
||||||
For the latest and greatest tested WebStudio, go to{" "}
|
For the latest and greatest tested WebStudio, go to{" "}
|
||||||
<a href={process.env.REACT_APP_HOMEPAGE}>
|
<a href={wsUrl}>
|
||||||
{process.env.REACT_APP_HOMEPAGE}
|
{wsUrl}
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue