Fix config.json being cached

This commit is contained in:
Bill Thornton 2023-05-15 09:46:22 -04:00
parent 800a05b087
commit c66cf02db4
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@ export const WebConfigProvider: FC = ({ children }) => {
useEffect(() => {
const fetchConfig = async () => {
try {
const response = await fetchLocal('config.json', { cache: 'no-cache' });
const response = await fetchLocal('config.json', { cache: 'no-store' });
if (!response.ok) {
throw new Error('network response was not ok');