diff --git a/main.go b/main.go index c582b69..600e51b 100644 --- a/main.go +++ b/main.go @@ -21,10 +21,10 @@ func main() { http.Handle("/", http.FileServer(http.FS(dist))) // windows - exec.Command(`cmd`, `/c`, `start`, `http://127.0.0.1:`+PORT+"/static/").Start() + exec.Command(`cmd`, `/c`, `start`, `http://127.0.0.1:`+PORT+"/dist/").Start() // mac - exec.Command(`open`, `http://127.0.0.1:`+PORT+"/static/").Start() + // exec.Command(`open`, `http://127.0.0.1:`+PORT+"/dist/").Start() http.ListenAndServe(":"+PORT, nil) }