Contextpaths removed - version updates

This commit is contained in:
Bahadır Sofuoğlu
2023-04-06 12:22:35 +03:00
parent 2f149147d1
commit 2b4b8b33ec
23 changed files with 625 additions and 648 deletions

View File

@@ -1,7 +1,6 @@
const contextPath = import.meta.env.BASE_URL;
export default class PhotoService {
getImages() {
return fetch(contextPath + 'demo/data/photos.json')
return fetch('demo/data/photos.json')
.then((res) => res.json())
.then((d) => d.data);
}