Merge pull request #1528 from Zillode/change-gui-port
Change (default) GUI port from 8080 to 8384 ('ST' in ascii values)
This commit is contained in:
commit
c67e2c2a5a
@ -27,7 +27,7 @@ func main() {
|
|||||||
log.SetOutput(os.Stdout)
|
log.SetOutput(os.Stdout)
|
||||||
log.SetFlags(0)
|
log.SetFlags(0)
|
||||||
|
|
||||||
target := flag.String("target", "localhost:8080", "Target Syncthing instance")
|
target := flag.String("target", "localhost:8384", "Target Syncthing instance")
|
||||||
apikey := flag.String("apikey", "", "Syncthing API key")
|
apikey := flag.String("apikey", "", "Syncthing API key")
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
|
|||||||
@ -749,7 +749,7 @@ func defaultConfig(myName string) config.Configuration {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
port, err := getFreePort("127.0.0.1", 8080)
|
port, err := getFreePort("127.0.0.1", 8384)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
l.Fatalln("get free port (GUI):", err)
|
l.Fatalln("get free port (GUI):", err)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -187,7 +187,7 @@ type OptionsConfiguration struct {
|
|||||||
|
|
||||||
type GUIConfiguration struct {
|
type GUIConfiguration struct {
|
||||||
Enabled bool `xml:"enabled,attr" json:"enabled" default:"true"`
|
Enabled bool `xml:"enabled,attr" json:"enabled" default:"true"`
|
||||||
Address string `xml:"address" json:"address" default:"127.0.0.1:8080"`
|
Address string `xml:"address" json:"address" default:"127.0.0.1:8384"`
|
||||||
User string `xml:"user,omitempty" json:"user"`
|
User string `xml:"user,omitempty" json:"user"`
|
||||||
Password string `xml:"password,omitempty" json:"password"`
|
Password string `xml:"password,omitempty" json:"password"`
|
||||||
UseTLS bool `xml:"tls,attr" json:"useTLS"`
|
UseTLS bool `xml:"tls,attr" json:"useTLS"`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user