From 3d07156e4ca9de2ce9e89e472b804667f3dedf10 Mon Sep 17 00:00:00 2001 From: Maxence Charriere Date: Tue, 31 Oct 2023 09:46:41 -0700 Subject: [PATCH] Update app.go --- pkg/app/app.go | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/pkg/app/app.go b/pkg/app/app.go index 5e7ef8d6..92204ba1 100644 --- a/pkg/app/app.go +++ b/pkg/app/app.go @@ -13,11 +13,9 @@ package app import ( "context" "fmt" - "net/url" "os" "runtime" "strings" - "time" ) const ( @@ -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