Skip to content

Commit

Permalink
Update app.go
Browse files Browse the repository at this point in the history
  • Loading branch information
maxence-charriere committed Oct 31, 2023
1 parent 587f76f commit 3d07156
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions pkg/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@ package app
import (
"context"
"fmt"
"net/url"
"os"
"runtime"
"strings"
"time"
)

const (
Expand All @@ -28,18 +26,6 @@ const (
// IsServer reports whether the code is running on a server for
// pre-rendering purposes.
IsServer = runtime.GOARCH != "wasm" || runtime.GOOS != "js"

orientationChangeDelay = time.Millisecond * 500
engineUpdateRate = 120
resizeInterval = time.Millisecond * 250
)

var (
rootPrefix string
isInternalURL func(string) bool
appUpdateAvailable bool
lastURLVisited *url.URL
resizeTimer *time.Timer
)

// Getenv retrieves the value of the environment variable named by the key. It
Expand Down

0 comments on commit 3d07156

Please sign in to comment.