mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-05-23 08:26:13 -05:00
Merge pull request #242 from Quinella/hooks
Fix path issues with update hook
This commit is contained in:
commit
f7eeda46ae
|
|
@ -26,7 +26,7 @@ contents = contents.replace(/(src|href)="\/(.*?)\?[a-z0-9]*?"/g, function (a, b,
|
|||
hash = crypto.createHash('md5').update(fstr).digest('hex').substr(0, 8);
|
||||
} catch (e) {}
|
||||
|
||||
return b + '="' + c + '?' + hash + '"';
|
||||
return b + '="/' + c + '?' + hash + '"';
|
||||
});
|
||||
|
||||
// add news
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user