Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit cdbd4a1

Browse files
committed
fix(nitro-node): missing replace for global constants in index script
1 parent f5bc098 commit cdbd4a1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

nitro-node/rollup.config.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@ export default [
2323
include: "src/**",
2424
},
2525
plugins: [
26+
replace({
27+
RELEASE_URL_PREFIX: JSON.stringify(
28+
"https://api.github.com/repos/janhq/nitro/releases/",
29+
),
30+
TAGGED_RELEASE_URL_PREFIX: JSON.stringify(
31+
"https://api.github.com/repos/janhq/nitro/releases/tags",
32+
),
33+
}),
2634
// Allow json resolution
2735
json(),
2836
// Allow node_modules resolution, so you can use 'external' to control

0 commit comments

Comments
 (0)