Skip to content

Commit c2ec20d

Browse files
committed
update main
1 parent 46beeb5 commit c2ec20d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sim/web/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func main() {
5454
fmt.Printf("Version: %s\n", Version)
5555
if !*skipVersionCheck && Version != "development" {
5656
go func() {
57-
resp, err := http.Get("https://api.github.com/repos/wowsims/mop/releases/latest")
57+
resp, err := http.Get("https://api.github.com/repos/wowsims/tbc/releases/latest")
5858
if err != nil {
5959
return
6060
}
@@ -301,7 +301,7 @@ func (s *server) runServer(useFS bool, host string, launchBrowser bool, simName
301301
})
302302
http.HandleFunc("/", func(resp http.ResponseWriter, req *http.Request) {
303303
if req.URL.Path == "/" {
304-
http.Redirect(resp, req, "/mop/", http.StatusPermanentRedirect)
304+
http.Redirect(resp, req, "/tbc/", http.StatusPermanentRedirect)
305305
return
306306
}
307307
resp.Header().Add("Cache-Control", "no-cache")
@@ -323,7 +323,7 @@ func (s *server) runServer(useFS bool, host string, launchBrowser bool, simName
323323
if strings.HasPrefix(host, ":") {
324324
host = "localhost" + host
325325
}
326-
url := fmt.Sprintf("http://%s/mop/%s", host, simName)
326+
url := fmt.Sprintf("http://%s/tbc/%s", host, simName)
327327
log.Printf("Launching interface on %s", url)
328328
go func() {
329329
err := browser.OpenURL(url)

0 commit comments

Comments
 (0)