Commit e6675c38 authored by Vildravn's avatar Vildravn
Browse files

Add url to the widget

parent 3d92b6c7
......@@ -100,6 +100,8 @@ async function createWidget(size) {
widget.backgroundColor = colors.bg;
if (size == 'medium') {
widget.url = REGION == 'EU' ? 'https://www.wowhead.com/world-quests/sl/eu' : 'https://www.wowhead.com/world-quests/sl/na';
let whData = await fetchData("https://www.wowhead.com", "loadString");
$ = cheerio.load(whData);
let data = undefined;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment