chore: 著作権とライセンスについての情報を各ファイルに追加する (#11348)

* chore: Add the SPDX information to each file

Add copyright and licensing information as defined in version 3.0 of
the REUSE Specification.

* tweak format

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
Shun Sakai 2023-07-27 14:31:52 +09:00 committed by GitHub
parent b6790a4320
commit c2370a1be6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1647 changed files with 8306 additions and 340 deletions

View file

@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: syuilo and other misskey contributors
* SPDX-License-Identifier: AGPL-3.0-only
*/
import { URL } from 'node:url';
import { Inject, Injectable } from '@nestjs/common';
import { JSDOM } from 'jsdom';
@ -70,9 +75,9 @@ export class FetchInstanceMetadataService {
return;
}
}
this.logger.info(`Fetching metadata of ${instance.host} ...`);
const [info, dom, manifest] = await Promise.all([
this.fetchNodeinfo(instance).catch(() => null),
this.fetchDom(instance).catch(() => null),