forked from naskya/firefish
chore: use forked repo url
This commit is contained in:
parent
7042f038f1
commit
7b7bb879b5
4 changed files with 6 additions and 13 deletions
|
@ -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) {}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue