Skip to content

Commit 934b502

Browse files
authored
Merge pull request #226 from arduino/remove_local_client
removed references to local web client
2 parents c98e19b + e70ceed commit 934b502

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

config.ini

-2
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,3 @@ regex = usb|acm|com # Regular expression to filter serial port list
66
v = true # show debug logging
77
appName = CreateBridge
88
updateUrl = http://downloads.arduino.cc/
9-
#updateUrl = http://localhost/
10-
origins = http://webide.arduino.cc:8080

main.go

-16
Original file line numberDiff line numberDiff line change
@@ -124,22 +124,6 @@ func main() {
124124
iniflags.Parse()
125125
}
126126

127-
// move CORS to config file compatibility, Vagrant version
128-
if *origins == "" {
129-
log.Println("Patching config.ini for compatibility")
130-
f, err := os.OpenFile(dest+"/"+*configIni, os.O_APPEND|os.O_WRONLY, 0666)
131-
if err != nil {
132-
panic(err)
133-
}
134-
_, err = f.WriteString("\norigins = http://webide.arduino.cc:8080\n")
135-
if err != nil {
136-
panic(err)
137-
}
138-
f.Close()
139-
restart("")
140-
}
141-
//log.SetFormatter(&log.JSONFormatter{})
142-
143127
log.SetLevel(log.InfoLevel)
144128

145129
log.SetOutput(os.Stderr)

0 commit comments

Comments
 (0)