diff options
author | Dessalines <tyhou13@gmx.com> | 2020-06-26 21:12:41 -0400 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-06-26 21:12:41 -0400 |
commit | 86dc50f9f0f6ea98273eb3845d5486d2fad8c1ff (patch) | |
tree | 7925b5768db7fd7c53115d99a40d6bdf638c27ef /server/src/api/post.rs | |
parent | 7d1c6e9a402c14833b94cd33f7f170ffcbc820ed (diff) |
Some fixes to federation.
- Advanced code migrations now disable then re-enable triggers.
Brings run time down to < 15 seconds, no need to thread them.
- Changing ap_ids and actor_ids in migrations to a fake url,
so it doesn't break XsdAnyUri in activitystreams.
Diffstat (limited to 'server/src/api/post.rs')
-rw-r--r-- | server/src/api/post.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/api/post.rs b/server/src/api/post.rs index 420bef1f..a3ac4915 100644 --- a/server/src/api/post.rs +++ b/server/src/api/post.rs @@ -172,7 +172,7 @@ impl Perform for Oper<CreatePost> { embed_description: iframely_description, embed_html: iframely_html, thumbnail_url: pictrs_thumbnail, - ap_id: "changeme".into(), + ap_id: "http://fake.com".into(), local: true, published: None, }; |