no stotre cache

This commit is contained in:
Philip Cheung 2024-10-11 11:50:56 +08:00
parent faf3928028
commit aa8d8a7185
1 changed files with 14 additions and 13 deletions

View File

@ -121,7 +121,8 @@ export async function fetchCourse(id: string) {
export async function fetchSettings() {
const headers: HeadersInit = {
accept: "application/json"
accept: "application/json",
cache: 'no-store'
};
const url = `${process.env.NEXT_PUBLIC_API_URL}setting/`;