1
0
Fork 1
mirror of https://example.com synced 2024-11-22 11:16:38 +09:00

chore: use forked repo url

This commit is contained in:
naskya 2023-09-24 14:54:38 +09:00
parent 7042f038f1
commit 7b7bb879b5
Signed by: naskya
GPG key ID: 164DFF24E2D40139
4 changed files with 6 additions and 13 deletions

View file

@ -3,19 +3,12 @@ export class FirefishRepo1689957674000 {
async up(queryRunner) {
await queryRunner.query(
`UPDATE meta SET "repositoryUrl" = 'https://git.joinfirefish.org/firefish/firefish'`,
`UPDATE meta SET "repositoryUrl" = 'https://code.naskya.net/naskya/firefish'`,
);
await queryRunner.query(
`UPDATE meta SET "feedbackUrl" = 'https://git.joinfirefish.org/firefish/firefish/issues'`,
);
}
async down(queryRunner) {
await queryRunner.query(
`UPDATE meta SET "repositoryUrl" = 'https://codeberg.org/firefish/firefish'`,
);
await queryRunner.query(
`UPDATE meta SET "feedbackUrl" = 'https://codeberg.org/firefish/firefish/issues'`,
);
}
async down(queryRunner) {}
}

View file

@ -436,7 +436,7 @@ export class Meta {
@Column("varchar", {
length: 512,
default: "https://git.joinfirefish.org/firefish/firefish",
default: "https://code.naskya.net/naskya/firefish",
nullable: false,
})
public repositoryUrl: string;

View file

@ -68,7 +68,7 @@ export const meta = {
type: "string",
optional: false,
nullable: false,
default: "https://git.joinfirefish.org/firefish/firefish",
default: "https://code.naskya.net/naskya/firefish",
},
feedbackUrl: {
type: "string",

View file

@ -15,7 +15,7 @@ export function genOpenapiSpec() {
externalDocs: {
description: "Repository",
url: "https://git.joinfirefish.org/firefish/firefish",
url: "https://code.naskya.net/naskya/firefish",
},
servers: [
@ -106,7 +106,7 @@ export function genOpenapiSpec() {
description: desc,
externalDocs: {
description: "Source code",
url: `https://git.joinfirefish.org/firefish/firefish/src/branch/develop/packages/backend/src/server/api/endpoints/${endpoint.name}.ts`,
url: `https://code.naskya.net/naskya/firefish/src/branch/main/packages/backend/src/server/api/endpoints/${endpoint.name}.ts`,
},
tags: endpoint.meta.tags || undefined,
security,