Fixed databaseUrl conditional