feat: force legacy tunnels to new version (#2914)

This commit is contained in:
Colin Adler
2022-07-12 00:33:35 +00:00
committed by GitHub
parent 59de95b8bb
commit 92ebdaec5a
2 changed files with 39 additions and 65 deletions
+3 -1
View File
@@ -20,6 +20,7 @@ type Region struct {
type Node struct {
ID int `json:"id"`
RegionID int `json:"region_id"`
HostnameHTTPS string `json:"hostname_https"`
HostnameWireguard string `json:"hostname_wireguard"`
WireguardPort uint16 `json:"wireguard_port"`
@@ -29,11 +30,12 @@ type Node struct {
var Regions = []Region{
{
ID: 1,
ID: 0,
LocationName: "US East Pittsburgh",
Nodes: []Node{
{
ID: 1,
RegionID: 0,
HostnameHTTPS: "pit-1.try.coder.app",
HostnameWireguard: "pit-1.try.coder.app",
WireguardPort: 55551,