Skip to content

Commit 667f898

Browse files
committed
document how to add example local server
1 parent 2236a87 commit 667f898

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

js/find_lan_servers.js

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/*
2+
* This file enables discovery of servers in the LAN.
3+
* If you like to add test servers, either run the server from the server branch
4+
* and serve content or execute the following to add a server:
5+
*
6+
* connectedLanServer({ hostname: "programming", offline: "http://10.137.2.20:25444/", info: "http://10.137.2.20:25444/announce/info", id: "programming" })
7+
*
8+
*/
19

210
var REFRESH_LOCAL_SERVERS_AFTER_MILLISECONDS = 30000;
311
var SERVERS_LISTING = "https://raw.githubusercontent.com/CoderDojoPotsdam/intro/server/servers.txt";

0 commit comments

Comments
 (0)