mastodon / flodgatt

A blazingly fast drop-in replacement for the Mastodon streaming API server
GNU Affero General Public License v3.0
87 stars 7 forks source link

Fix `DATABASE_URL` parsing #122

Closed codesections closed 4 years ago

codesections commented 4 years ago

This PR adds support for specifying the host directly in the DATABASE_URL path, in addition to via a query parameter. (Or with the DB_HOST variable). This includes passing a URL-escaped hostname.