Skip to content

Commit b1af256

Browse files
authored
Add wasm client version (#503)
1 parent 4027894 commit b1af256

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docker/init_react_envs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export NETBIRD_GOOGLE_ANALYTICS_ID=${NETBIRD_GOOGLE_ANALYTICS_ID}
6161
export NETBIRD_GOOGLE_TAG_MANAGER_ID=${NETBIRD_GOOGLE_TAG_MANAGER_ID}
6262
export NETBIRD_TOKEN_SOURCE=${NETBIRD_TOKEN_SOURCE:-accessToken}
6363
export NETBIRD_DRAG_QUERY_PARAMS=${NETBIRD_DRAG_QUERY_PARAMS:-false}
64-
export NETBIRD_WASM_PATH=${NETBIRD_WASM_PATH:-https://pkgs.netbird.io/wasm/client}
64+
export NETBIRD_WASM_PATH=${NETBIRD_WASM_PATH}
6565

6666
echo "NetBird latest version: ${NETBIRD_LATEST_VERSION}"
6767

src/utils/config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ const loadConfig = (): Config => {
6767
hotjarTrackID: configJson?.hotjarTrackID || undefined,
6868
googleAnalyticsID: configJson?.googleAnalyticsID || undefined,
6969
googleTagManagerID: configJson?.googleTagManagerID || undefined,
70-
wasmPath: configJson.wasmPath ?? "https://pkgs.netbird.io/wasm/client",
70+
wasmPath:
71+
configJson.wasmPath || "https://pkgs.netbird.io/wasm/client/v0.59.11",
7172
} as Config;
7273
};
7374

0 commit comments

Comments
 (0)