All demos added
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
export default class PhotoService {
|
||||
|
||||
getImages() {
|
||||
return fetch('data/photos.json').then(res => res.json())
|
||||
.then(d => d.data);
|
||||
getImages () {
|
||||
return fetch('/data/photos.json')
|
||||
.then(res => res.json())
|
||||
.then(d => d.data);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user