Skip to content

Commit

Permalink
fix: Add warning about ws:// URL
Browse files Browse the repository at this point in the history
  • Loading branch information
roerohan committed May 1, 2021
1 parent c01bf36 commit 3d1b024
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,18 @@ function App() {

<input type="text" onChange={({ target: { value } }) => {
setInputUrl(value);
}} name="url" placeholder="ws://your-vnc-url" />
}} name="url" placeholder="wss://your-vnc-url" />

<Spacer />
<button onClick={() => setVncUrl(inputUrl)}>Go!</button>
</div>

<div style={{ opacity: 0.5, margin: '1rem' }}>
Since the site is loaded over HTTPS, only `wss://` URLs (SSL encrypted websockets URLs) are supported.
<br />
To test a `ws://` URL, clone the application and run it on http://localhost:3000, or <a href="https://experienceleague.adobe.com/docs/target/using/experiences/vec/troubleshoot-composer/mixed-content.html?lang=en#task_5448763B8DC941FD80F84041AEF0A14D">enable Mixed Content on your browser</a>.
</div>

<div style={{ margin: '1rem' }}>
{
isValid(vncUrl)
Expand Down

0 comments on commit 3d1b024

Please sign in to comment.