Skip to content

Commit 7d5f5c1

Browse files
authored
fix: cache busting (#2309)
1 parent 6f345dc commit 7d5f5c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/namadillo/src/atoms/integrations/services.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ export const handleStandardTransfer = async (
325325
};
326326

327327
export const fetchLocalnetTomlConfig = async (): Promise<LocalnetToml> => {
328-
const response = await fetch("/localnet-config.toml");
328+
const response = await fetch("/localnet-config.toml", { cache: "no-store" });
329329
return toml.parse(await response.text()) as LocalnetToml;
330330
};
331331

apps/namadillo/src/atoms/settings/services.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export const isRpcAlive = async (url: string): Promise<boolean> => {
7070

7171
export const fetchDefaultTomlConfig =
7272
async (): Promise<SettingsTomlOptions> => {
73-
const response = await fetch("/config.toml");
73+
const response = await fetch("/config.toml", { cache: "no-store" });
7474
return toml.parse(await response.text()) as SettingsTomlOptions;
7575
};
7676

0 commit comments

Comments
 (0)