Update Post component, rewrite local post urls

pull/5850/head
Daniel Supernault 3 months ago
parent c27e04dfec
commit d2f2a1b1cf
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

@ -203,6 +203,9 @@
this.post = res.data;
this.media = this.post.media_attachments;
this.profile = this.post.account;
if(res.data.account && res.data.account.local) {
window.history.pushState({}, '', `/p/${res.data.account.acct}/${res.data.id}`);
}
if(this.post.in_reply_to_id) {
this.fetchReply();
} else {

Loading…
Cancel
Save