diff --git a/index.html b/index.html index c34f3d5..c3e117b 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,8 @@ -
+
diff --git a/src/components/archiveList.vue b/src/components/archiveList.vue index 680c9c9..8438cd7 100644 --- a/src/components/archiveList.vue +++ b/src/components/archiveList.vue @@ -12,12 +12,12 @@ This file is part of ArciveList.

List of sites

- +
@@ -43,12 +43,11 @@ export default { }, mounted() { var self = this; - axios.get('https://dev-archive.hangar.org/api/sites', { + axios.get(this.endpoint +'/sites', { }) .then(function (response) { console.log(response.data) self.sites = response.data - //self.$forceUpdate(); }) .catch(function (error) { console.log(error); diff --git a/src/loaders/archiveListLoader.js b/src/loaders/archiveListLoader.js index 3b559b5..aef4430 100644 --- a/src/loaders/archiveListLoader.js +++ b/src/loaders/archiveListLoader.js @@ -29,9 +29,9 @@ document.querySelectorAll("[data-vue-component=archive-list]") .forEach((element) => { new ComponentClass({ components: {'ArchiveList': ArchiveList}, - /* propsData: { ...element.dataset }, - props: ["endpoint", "language", "csrf_token"], + props: ["endpoint"], + /* store: store, i18n: i18n, */