Skip to content

Commit

Permalink
bump server to 1.14.8 and start server faster
Browse files Browse the repository at this point in the history
  • Loading branch information
Juby210 committed Jan 13, 2024
1 parent 3400e2e commit fbd9ec7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: "1.21.1"
go-version: "1.21.6"

- name: Checkout code
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ func main() {
defer w.Destroy()
w.SetTitle("HTTP Toolkit")
w.SetSize(1366, 768, webview.HintNone)
w.SetHtml("Setting up server..<script>window.onload=()=>_onload()</script>")
w.SetHtml("Setting up server..")
webkitFixes(w.Window())

w.Bind("_onload", func() {
w.Dispatch(func() {
go func() {
if err := setupServer(); err != nil {
w.Dispatch(func() {
Expand Down
2 changes: 1 addition & 1 deletion setup_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"os"
)

const requiredVersion = "1.14.3"
const requiredVersion = "1.14.8"

func setupServer() error {
file, err := os.Open("httptoolkit-server/package.json")
Expand Down

0 comments on commit fbd9ec7

Please sign in to comment.