~whereswaldon/pointstar

ref: v0.0.1 pointstar/client/url-non-js.go -rw-r--r-- 192 bytes
1e806177Chris Waldon bugfix: avoid crashing when laying out help 1 year, 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
// +build !js

package main

import "flag"

var wsURL *string = flag.String("ws-url", "wss://xxxxxxxx.ngrok.io/ws", "websocket url for game server")

func GetWSURL() string {
	return *wsURL
}