Custom API instance
This page will show you settings that you need if you want to use your own API instance with Khofly. If you don't have your own API instance hosted check out the hosting guide.
1. Make sure that you have ENV set up correctly
Check if you have .env.local
or just .env
file in /api
folder.
Get all the necessary API keys, the guides can be found in 3rd-party section.
Make sure that IS_SELF_HOST
is set to 1
and you have all your web client domains added in CORS_URLS
.
Finally - Add your instance to Khofly
Go to Settings/Instances/API URL and set your instances domain in the following format https://example.com
Read more