no stotre cache
This commit is contained in:
		| @@ -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/`; | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user