Update streaming/database.js

This commit is contained in:
Emelia Smith 2025-05-10 04:26:41 +02:00
parent 999d9f1f31
commit bbf7be4c45

View File

@ -44,7 +44,7 @@ export function configFromEnv(env, environment, logger) {
// of time to give a more specific error message:
if (env.DATABASE_URL.includes('uselibpqcompat')) {
throw new Error(
'SECURITY WARNING: Mastodon forces uselibpqcompat mode, do not include it in DATABASE_URL',
'Mastodon forces uselibpqcompat mode, do not include it in DATABASE_URL',
);
}