sensaura-public / iotweb

A simple HTTP and WebSocket server component for Windows 10 IoT Core and .NET 4.5
38 stars 21 forks source link

small change needed to get it working on port 80 #2

Closed ossandust closed 8 years ago

ossandust commented 8 years ago

Really a very small typo, but I thought I'd mention it because it can take some time to find out... In the demo file index.html, when wsURL is created, a space is inserted instead of a portnumber when using port 80. Should be an empty string instead: var wsURL = "ws://" + location.hostname + (location.port ? ':' + location.port : '') + "/sockets/";

sensaura-public commented 8 years ago

Thanks, I'll make the change. Listening on port 80 is restricted on UWP so most of the testing has been done with non-standard ports.

sensaura-public commented 8 years ago

Fixed in branches 0.8.x and master - will be rolled into next NuGet version.