Update longpost URL, issue #92

This commit is contained in:
Morgan McMillian 2020-02-01 08:05:32 -08:00
parent d6492c54dd
commit fb56ad8a81

View file

@ -67,8 +67,8 @@ export class NewPostModal {
'body': this.ptext,
'tstamp': new Date().valueOf()
}
this.ptext = this.ptext.substr(0, 40) + "... - http://chimpnut.nl/u/";
this.ptext = this.ptext + this.navParams.data.me + "/lp/{object_id} - #longpost";
this.ptext = this.ptext.substr(0, 100) + "... - https://longpo.st/p/{object_id} - #longpost";
// this.ptext = this.ptext + this.navParams.data.me + "/lp/{object_id} - #longpost";
this.raw.push({
type: "nl.chimpnut.blog.post",
value: this.longpost