fix urls and update builds
This commit is contained in:
parent
ec33b23483
commit
a4f9d61c79
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -49,7 +49,7 @@ export default new class EmoteModule extends Builtin {
|
|||
getUrl(category, name) {return EmoteURLs[category].format({id: Emotes[category][name]});}
|
||||
|
||||
getCategory(category) {return Emotes[category];}
|
||||
getRemoteFile(category) {return Utilities.repoUrl(`data/emotes/${category.toLowerCase()}.json`);}
|
||||
getRemoteFile(category) {return Utilities.repoUrl(`assets/emotes/${category.toLowerCase()}.json`);}
|
||||
|
||||
initialize() {
|
||||
super.initialize();
|
||||
|
|
|
@ -49,7 +49,7 @@ export default new class LocaleManager {
|
|||
downloadLocale(locale, hash = "") {
|
||||
return new Promise(resolve => {
|
||||
const options = {
|
||||
url: Utilities.repoUrl(`data/locales/${locale}.json`),
|
||||
url: Utilities.repoUrl(`assets/locales/${locale}.json`),
|
||||
timeout: 2000,
|
||||
json: true
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue