From 9dab3a66cf152985ec754d28116553527085e82d Mon Sep 17 00:00:00 2001 From: Sangeetha Date: Tue, 28 Nov 2023 17:44:05 +0000 Subject: [PATCH] Added log for testing the meta.env object --- src/components/Plate.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/components/Plate.vue b/src/components/Plate.vue index 3c36a4d..7a7398f 100644 --- a/src/components/Plate.vue +++ b/src/components/Plate.vue @@ -124,6 +124,11 @@ export default { return { data: { data: { attributes: this.json } } } }, requestOptions() { + /* eslint-disable no-console */ + console.log('TESTING---------') + console.log(import.meta.env) + console.log(import.meta.env.VITE_SEQUENCESCAPE_BASE_URL) + /* eslint-enable no-console */ return { url: '/qc_assays', method: 'post', @@ -190,6 +195,9 @@ export default { // TODO: can we move this to an ORM exportToSequencescape() { this.exporting = true + /* eslint-disable no-console */ + console.log(this.request) + /* eslint-enable no-console */ axios(this.request) .then(() => { this.exporting = false