Sakai services updates
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user