Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Commit

Permalink
MTLNovel: Add / to expandURL (#398)
Browse files Browse the repository at this point in the history
* MTLNovel: Add / to expandURL

* Update MTLNovel.lua

* Update index.json
  • Loading branch information
Doomsdayrs authored Aug 17, 2022
1 parent bee7bbc commit e20a88e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"imageURL": "https://github.com/shosetsuorg/extensions/raw/dev/icons/MTLNovel.png",
"id": 573,
"lang": "en",
"ver": "2.0.0",
"ver": "2.0.1",
"libVer": "1.0.0",
"md5": "c4a2b8bfb6e6103ad0c8615fb6602bbe"
},
Expand Down
4 changes: 2 additions & 2 deletions src/en/MTLNovel.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- {"id":573,"ver":"2.0.0","libVer":"1.0.0","author":"Doomsdayrs","dep":["url>=1.0.0"]}
-- {"id":573,"ver":"2.0.1","libVer":"1.0.0","author":"Doomsdayrs","dep":["url>=1.0.0"]}

local baseURL = "https://www.mtlnovel.com"
local settings = { [1] = 0 }
Expand All @@ -17,7 +17,7 @@ local function shrinkURL(url)
end

local function expandURL(url)
return baseURL .. url
return baseURL .. "/" .. url
end

---@type fun(table, string): string
Expand Down

0 comments on commit e20a88e

Please sign in to comment.