From 118c62665323bf7eeebbd135c74302afcde0c203 Mon Sep 17 00:00:00 2001 From: "h.u.g.u.rp" Date: Thu, 27 Jul 2023 17:30:04 +0200 Subject: [PATCH] add: start_url in manifest.json, fix >ghu vs >ghui --- assets/manifest.json | 3 ++- src/index.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/assets/manifest.json b/assets/manifest.json index 8e7e0ee..bdeb18c 100644 --- a/assets/manifest.json +++ b/assets/manifest.json @@ -2,5 +2,6 @@ "name": "Find!", "short_name": "Find", "display": "standalone", - "icon": "./assets/find-logo.svg" + "icon": "./assets/find-logo.svg", + "start_url": "/" } diff --git a/src/index.js b/src/index.js index a8d04b7..2d0cbbc 100755 --- a/src/index.js +++ b/src/index.js @@ -140,7 +140,8 @@ export class I4kFindSymbols { ghr: "https://api.github.com/repos/{}", ghsr: "https://api.github.com/search/repositories?page=1&per_page=100&q=fork:true+{}", ghsrt: "https://api.github.com/search/repositories?page=1&per_page=100&q=fork:true+topic:{}+{}", - ghu: "https://api.github.com/user/{}", + ghu: "https://api.github.com/users/{}", + ghuid: "https://api.github.com/user/{}", /* gitlab */ gl: "https://docs.gitlab.com/ee/api/rest/?suggestion=add-api-json-root#note=wikip-has-txt", glg: "https://gitlab.com/api/v4/groups/{}",