This commit is contained in:
rodič
47211b6133
revize
01f006122b
|
@ -19,7 +19,8 @@ export class DeConfEngine {
|
||||||
this.srcDir = this.options.srcDir || "./data";
|
this.srcDir = this.options.srcDir || "./data";
|
||||||
this.outputDir = this.options.outputDir || "./dist";
|
this.outputDir = this.options.outputDir || "./dist";
|
||||||
this.publicUrl = this.options.publicUrl || "https://data.prgblockweek.com";
|
this.publicUrl = this.options.publicUrl || "https://data.prgblockweek.com";
|
||||||
this.exploreUrl = this.options.exploreUrl || "https://explore.prgblockweek.com";
|
this.exploreUrl = this.options.exploreUrl ||
|
||||||
|
"https://explore.prgblockweek.com";
|
||||||
this.githubUrl = this.options.githubUrl ||
|
this.githubUrl = this.options.githubUrl ||
|
||||||
"https://github.com/utxo-foundation/prague-blockchain-week/tree/main/data";
|
"https://github.com/utxo-foundation/prague-blockchain-week/tree/main/data";
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
import { DeConfEngine } from "./engine.js";
|
import { DeConfEngine } from "./engine.js";
|
||||||
|
|
||||||
const deconf = new DeConfEngine({
|
const deconf = new DeConfEngine({
|
||||||
publicUrl: "https://mirror.data.prgblockweek.com",
|
publicUrl: "https://mirror.data.prgblockweek.com",
|
||||||
exploreUrl: "https://mirror.explore.prgblockweek.com",
|
exploreUrl: "https://mirror.explore.prgblockweek.com",
|
||||||
outputDir: "./dist-mirror"
|
outputDir: "./dist-mirror",
|
||||||
});
|
});
|
||||||
|
|
||||||
await deconf.init();
|
await deconf.init();
|
||||||
await deconf.build();
|
await deconf.build();
|
||||||
|
|
Načítá se…
Odkázat v novém úkolu