-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
feat: add localHost option to allow changing of federation host#17222
feat: add localHost option to allow changing of federation host#17222kenshineto wants to merge 1 commit intomisskey-dev:developfrom
Conversation
What
Add a userHost option in config that allows instances to use a seperate host for their user ids instead of using the host from the instance url.
For #17212
Why
This mirrors a feature that mastodon has with its LOCAL_URL and WEB_URL options. It allows instances to host their instances on any url without having to compromise their user ids. For example I am running this change on my instance social.freya.cat with all user ids @freya.cat.
Additional info (optional)
Checklist
- Read the contribution guide
- Test working in a local environment
- (If needed) Add story of storybook
- (If needed) Update CHANGELOG.md
- (If possible) Add tests
|
konoPRniyoruapi.jsonnoChai Fen |
Backend memory usage comparisonBefore GC
After GC
After Request
|
Codecov Report Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #17222 +/- ## =========================================== - Coverage 63.57% 63.56% -0.01% =========================================== Files 1161 1161 Lines 116244 116254 +10 Branches 8371 8365 -6 =========================================== + Hits 73900 73902 +2 + Misses 40159 40148 -11 - Partials 2185 2204 +19 View full report in Codecov by Sentry. New features to boost your workflow:
|
|
I use to have this setup where config.url was changed to I manually went though every use of |
ec29e21 to
a730f59
Compare
b5e62b3 to
983f2a0
Compare
1fc6705 to
8f270a2
Compare
|
Renamed option form |
fb9f7f7 to
cdb6e5f
Compare