Handle missing blocks/addresses in preview

This commit is contained in:
Mononaut
2022-08-03 16:43:47 +00:00
parent 31ced9e23c
commit bbf04648f9
5 changed files with 29 additions and 10 deletions

View File

@@ -43,8 +43,10 @@ export class OpenGraphService {
}
});
// expose this service to global scope, so we can access it from the unfurler
window['ogService'] = this;
// expose routing method to global scope, so we can access it from the unfurler
window['ogService'] = {
loadPage: (path) => { return this.loadPage(path) }
};
}
setOgImage() {