This commit is contained in:
tree 2023-01-23 01:18:51 +01:00
rodič 82e70c4982
revize d1f8a250dd
1 změnil soubory, kde provedl 2 přidání a 0 odebrání

Zobrazit soubor

@ -9,6 +9,7 @@ export class DeConfEngine {
this.srcDir = this.options.srcDir || "./data";
this.outputDir = this.options.outputDir || "./dist";
this.publicUrl = this.options.publicUrl || "https://data.prgblockweek.com";
this.githubUrl = this.options.githubUrl || "https://github.com/utxo-foundation/prague-blockchain-week/tree/main/data";
}
async init() {}
async build() {
@ -29,6 +30,7 @@ export class DeConfEngine {
id: p.id,
name: p.data.index.name,
dataUrl: [this.publicUrl, p.id].join("/"),
githubUrl: [this.githubUrl, p.id].join("/")
})),
);
}