Skip to content

Commit

Permalink
fix(go): avoid read the cached page (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
2nthony authored Oct 26, 2021
1 parent 3b7f503 commit f586f5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"net/http"
"os"
"path/filepath"
"time"

"github.com/asaskevich/EventBus"
"github.com/evillt/webview"
Expand Down Expand Up @@ -43,7 +44,7 @@ func runApp() {

createServer()

w.Navigate(fmt.Sprintf("http://%s:%s", hostIP, hostPort))
w.Navigate(fmt.Sprintf("http://%s:%s?%d", hostIP, hostPort, time.Now().UnixMilli()))

w.Run()
}
Expand Down

0 comments on commit f586f5a

Please sign in to comment.