mirror of
https://github.com/mue/mue.git
synced 2026-07-10 22:14:39 +02:00
fix: use constants, improve photoinformation ui
This commit is contained in:
@@ -93,7 +93,7 @@ export default class Added extends PureComponent {
|
||||
updateCheck() {
|
||||
let updates = 0;
|
||||
this.state.installed.forEach(async (item) => {
|
||||
const data = await (await fetch('https://marketplace.muetab.com/item/' + item.name)).json();
|
||||
const data = await (await fetch(window.constants.MARKETPLACE_URL + '/item/' + item.name)).json();
|
||||
if (data.version !== item.version) {
|
||||
updates++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user