Skip to content

Commit 9b7b46d

Browse files
committed
#185 Fix for broken repo LOC insertion
1 parent 21e45ed commit 9b7b46d

File tree

8 files changed

+9
-10
lines changed

8 files changed

+9
-10
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VITE_APP_APP_VERSION=10.0.14
1+
VITE_APP_APP_VERSION=10.0.15
22
VITE_APP_GITHUB_API_FREE_HOURLY_LIMIT=60
33
VITE_APP_GITHUB_API_TOKENIZED_HOURLY_LIMIT=5000
44
VITE_APP_TOKEN_CREATION_LINK=https://github.com/settings/tokens/new?scopes=repo&description=Github%20GLOC

.env.development

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VITE_APP_APP_VERSION=10.0.14
1+
VITE_APP_APP_VERSION=10.0.15
22
VITE_APP_GITHUB_API_FREE_HOURLY_LIMIT=60
33
VITE_APP_GITHUB_API_TOKENIZED_HOURLY_LIMIT=5000
44
VITE_APP_TOKEN_CREATION_LINK=https://github.com/settings/tokens/new?scopes=repo&description=Github%20GLOC

.env.production

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VITE_APP_APP_VERSION=10.0.14
1+
VITE_APP_APP_VERSION=10.0.15
22
VITE_APP_GITHUB_API_FREE_HOURLY_LIMIT=60
33
VITE_APP_GITHUB_API_TOKENIZED_HOURLY_LIMIT=5000
44
VITE_APP_TOKEN_CREATION_LINK=https://github.com/settings/tokens/new?scopes=repo&description=Github%20GLOC

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"short_name": "Gloc",
55
"author": "Kas Elvirov",
66
"description": "Github Gloc - counts locs on GitHub pages",
7-
"version": "10.0.14",
7+
"version": "10.0.15",
88
"action": {
99
"default_icon": {
1010
"16": "img/icon16.png",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gloc",
3-
"version": "10.0.14",
3+
"version": "10.0.15",
44
"engines": {
55
"node": "16.19.0",
66
"npm": "0.39.3"

src/_modules/Content/consts/locations.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ export const POSSIBLE_REPO_LOCATIONS: RepoLocationConfig[] = [
5858
userLocation: CurrentUserLocation.SinglePage,
5959
selector: 'querySelector',
6060
pathToSelectRepoName: 'div.d-flex.mb-3.px-3.px-lg-5 > div > div > strong a',
61-
placeToInsert:
62-
'div.AppHeader-globalBar-start > div > div.AppHeader-context-full > nav > ul',
61+
placeToInsert: '[data-target="context-region-controller.contextRegion"]',
6362
},
6463
{
6564
userLocation: CurrentUserLocation.Unknown,

src/_shared/consts/defaults.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const SYSTEM_DEFAULTS = {
77
*/
88
APP_MODE: {
99
KEY: 'x-app-mode',
10-
DEFAULT_VALUE: false,
10+
DEFAULT_VALUE: true,
1111
},
1212
GITHUB_TOKEN: {
1313
KEY: 'x-github-token',

0 commit comments

Comments
 (0)