Skip to content

Commit

Permalink
Remove base URL settings that point to MIX_APP_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffmueller-st committed Sep 17, 2024
1 parent d8931e7 commit d6fa6a0
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion resources/js/api/ConceptService.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import axios from 'axios';

const apiClient = axios.create({
baseURL: `${process.env.MIX_APP_URL}/api/concepts`,
baseURL: `api/concepts`,
});

export default {
Expand Down
2 changes: 1 addition & 1 deletion resources/js/api/ConceptSourceService.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import axios from 'axios';

const apiClient = axios.create({
baseURL: `${process.env.MIX_APP_URL}/api/concept_sources`,
baseURL: `api/concept_sources`,
});

export default {
Expand Down
2 changes: 1 addition & 1 deletion resources/js/api/TermService.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import axios from 'axios';

const apiClient = axios.create({
baseURL: `${process.env.MIX_APP_URL}/api/terms`,
baseURL: `api/terms`,
});

export default {
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/CPFForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ export default {
propertyEditMode: true,
categories,
isVocabularyEditor: this.canEditVocabulary === true,
baseURL: process.env.MIX_APP_URL,
baseURL: '',
};
},
computed: {
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/Concept/Create.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export default {
saving: false,
categories,
categoryId: null,
baseURL: process.env.MIX_APP_URL,
baseURL: '',
preferredTermInvalid: 'Preferred Term is required.',
alternateTermInvalid: 'Alternate Term cannot be empty.',
};
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/Concept/Default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export default {
categories,
cats: this.conceptProps.concept_categories,
isVocabularyEditor: this.canEditVocabulary !== 'false',
baseURL: process.env.MIX_APP_URL,
baseURL: '',
devFeatures: process.env.MIX_INCLUDE_DEVELOPMENT_FEATURES == 'true',
};
},
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/Concept/Edit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ export default {
cats: this.conceptProps.concept_categories,
selectedCategory: this.conceptProps.concept_categories[0].id,
isVocabularyEditor: this.canEditVocabulary !== 'false',
baseURL: process.env.MIX_APP_URL,
baseURL: '',
devFeatures: process.env.MIX_INCLUDE_DEVELOPMENT_FEATURES == 'true',
};
},
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/Concept/List.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export default {
currentPage: 1,
perPage: 15,
totalRows: 1,
baseURL: process.env.MIX_APP_URL,
baseURL: '',
};
},
computed: {
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/Source/Default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default {
editMode: false,
isVocabularyEditor: this.canEditVocabulary === true,
index: this.sourceIndex,
baseURL: process.env.MIX_APP_URL,
baseURL: '',
state: state,
};
},
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/Source/Edit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export default {
note: null,
isVocabularyEditor: this.canEditVocabulary === true,
index: this.sourceIndex,
baseURL: process.env.MIX_APP_URL,
baseURL: '',
};
},
methods: {
Expand Down

0 comments on commit d6fa6a0

Please sign in to comment.