Skip to content

Commit c797e08

Browse files
committed
Fix mirror config
1 parent 25c70cf commit c797e08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/mirror-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export function getMirrorConfig(): MirrorConfig {
1818
return {
1919
enabled: mode === "mirror",
2020
upstream: process.env.UNDERLAY_UPSTREAM ?? "",
21-
nodeName: process.env.UNDERLAY_NODE_NAME ?? "IUA Mirror",
21+
nodeName: process.env.UNDERLAY_NODE_NAME || "IUA Mirror",
2222
syncSchedule: process.env.UNDERLAY_SYNC_SCHEDULE ?? "0 0 * * 0",
2323
apiKey: process.env.UNDERLAY_UPSTREAM_API_KEY ?? "",
2424
};

0 commit comments

Comments
 (0)