This commit is contained in:
tamaina 2024-03-01 07:18:16 +00:00
parent bec6159b4a
commit 743b740775
4 changed files with 5 additions and 3 deletions

View file

@ -50,7 +50,7 @@ export class FetchInstanceMetadataService {
private redisClient: Redis.Redis,
) {
this.logger = this.loggerService.getLogger('metadata', 'cyan');
this.httpColon = 'http://';
this.httpColon = process.env.MISSKEY_USE_HTTP?.toLowerCase() === 'true' ? 'http://' : 'https://';
}
@bindThis