mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-07-07 03:28:31 +00:00
4.1.1
* Fixed: Minor bug with the Add-On Loader system building URLs incorrectly in production.
This commit is contained in:
parent
b61376ac00
commit
cdedf29d04
2 changed files with 3 additions and 3 deletions
|
@ -148,7 +148,7 @@ export default class AddonManager extends Module {
|
|||
this.addons[id] = [addon.id];
|
||||
}
|
||||
|
||||
this.emit(':added-addon');
|
||||
this.emit(':added');
|
||||
}
|
||||
|
||||
rebuildAddonSearch() {
|
||||
|
@ -249,7 +249,7 @@ export default class AddonManager extends Module {
|
|||
document.head.appendChild(createElement('script', {
|
||||
id: `ffz-loaded-addon-${addon.id}`,
|
||||
type: 'text/javascript',
|
||||
src: addon.src || `https://${addon.dev ? 'localhost:8001' : SERVER}/script/addons/${addon.id}/script.js`,
|
||||
src: addon.src || `${addon.dev ? 'https://localhost:8001' : SERVER}/script/addons/${addon.id}/script.js`,
|
||||
crossorigin: 'anonymous'
|
||||
}));
|
||||
|
||||
|
|
|
@ -151,7 +151,7 @@ ${typeof x[1] === 'string' ? x[1] : JSON.stringify(x[1], null, 4)}`
|
|||
FrankerFaceZ.Logger = Logger;
|
||||
|
||||
const VER = FrankerFaceZ.version_info = {
|
||||
major: 4, minor: 1, revision: 0,
|
||||
major: 4, minor: 1, revision: 1,
|
||||
commit: __git_commit__,
|
||||
build: __webpack_hash__,
|
||||
toString: () =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue