Skip to content

Commit

Permalink
Added log for testing the meta.env object
Browse files Browse the repository at this point in the history
  • Loading branch information
Sangeetha-Bheeman committed Nov 28, 2023
1 parent fe5c031 commit 9dab3a6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/Plate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9dab3a6

Please sign in to comment.