no stotre cache
This commit is contained in:
parent
faf3928028
commit
aa8d8a7185
|
@ -121,7 +121,8 @@ export async function fetchCourse(id: string) {
|
||||||
|
|
||||||
export async function fetchSettings() {
|
export async function fetchSettings() {
|
||||||
const headers: HeadersInit = {
|
const headers: HeadersInit = {
|
||||||
accept: "application/json"
|
accept: "application/json",
|
||||||
|
cache: 'no-store'
|
||||||
};
|
};
|
||||||
const url = `${process.env.NEXT_PUBLIC_API_URL}setting/`;
|
const url = `${process.env.NEXT_PUBLIC_API_URL}setting/`;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue