From 06582001f3318fa032610e390ec990b4a27df96e Mon Sep 17 00:00:00 2001 From: familyfriendlymikey Date: Sun, 15 May 2022 17:36:52 -0700 Subject: [PATCH] fix pasting going to wrong href --- app/client.imba | 2 +- package.json | 2 +- sw.imba | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/client.imba b/app/client.imba index 7245a71..4e9827b 100644 --- a/app/client.imba +++ b/app/client.imba @@ -195,7 +195,7 @@ tag app def handle_paste e return if state.query.length > 0 global.setTimeout(&, 0) do - window.location.href = state.config.search_engine_url + state.query.trim! + window.location.href = "//{state.config.search_engine_url}{state.query.trim!}" def toggle_settings if settings_active diff --git a/package.json b/package.json index df9d0ef..279a044 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fuzzyhome", - "version": "0.0.24", + "version": "0.0.25", "scripts": { "start": "imba run -SMH --baseurl . -w server.imba", "build-app": "imba build -SMH --baseurl . server.imba", diff --git a/sw.imba b/sw.imba index 5e02e78..d7c080e 100644 --- a/sw.imba +++ b/sw.imba @@ -1,7 +1,7 @@ let p = console.log const app_prefix = "fuzzyhome_cache" -const version = "0.0.24" +const version = "0.0.25" const cache_name = "{app_prefix}-{version}"