1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-19 05:25:45 +02:00
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