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") {
|
||||
return null;
|
||||
}
|
||||
const wsUrl = process.env.REACT_APP_MYRADIO_NONAPI_BASE + "/MyRadio/webstudio";
|
||||
return (
|
||||
<>
|
||||
<div className="p-2 alert-warning">
|
||||
|
@ -20,8 +21,8 @@ function DevWarning() {
|
|||
</em>
|
||||
<br />
|
||||
For the latest and greatest tested WebStudio, go to{" "}
|
||||
<a href={process.env.REACT_APP_HOMEPAGE}>
|
||||
{process.env.REACT_APP_HOMEPAGE}
|
||||
<a href={wsUrl}>
|
||||
{wsUrl}
|
||||
</a>
|
||||
.
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue