You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: main.go
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@ package main
6
6
import (
7
7
"flag"
8
8
"os"
9
+
"os/user"
9
10
"path/filepath"
10
11
"runtime/debug"
11
12
"strconv"
@@ -46,6 +47,7 @@ var (
46
47
portSSLstring
47
48
origins=flag.String("origins", "", "Allowed origin list for CORS")
48
49
address=flag.String("address", "127.0.0.1", "The address where to listen. Defaults to localhost")
50
+
indexURL=flag.String("indexURL", "http://downloads.arduino.cc/packages/package_index.json", "The address from where to download the index json containing the location of upload tools")
0 commit comments