Sakai services updates

This commit is contained in:
tugcekucukoglu
2024-03-29 08:21:34 +03:00
parent 1f5aeb1a21
commit ef6f80dfb1
20 changed files with 155 additions and 115 deletions

View File

@@ -1,6 +1,6 @@
export default class PhotoService {
export class PhotoService {
getImages() {
return fetch('demo/data/photos.json')
return fetch('/demo/data/photos.json', { headers: { 'Cache-Control': 'no-cache' } })
.then((res) => res.json())
.then((d) => d.data);
}