Skip to content

Commit

Permalink
set up for actual web deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
eepMoody committed Nov 11, 2018
1 parent 4ce1cda commit ac23d82
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
Empty file removed .circleci/config.yml
Empty file.
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: cd ui && npm install && npm run build && npm start
2 changes: 1 addition & 1 deletion ui/pages/magicitems/magicitem-list.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default {
FilterInput
},
mounted () {
return axios.get(`http://localhost:8000/magicitems/?fields=slug,name&limit=1000`) //you will need to enable CORS to make this work
return axios.get(`http://api-beta.open5e.com/magicitems/?fields=slug,name&limit=1000`) //you will need to enable CORS to make this work
.then(response => {
this.items = response.data.results
})
Expand Down
2 changes: 1 addition & 1 deletion ui/pages/search/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default {
methods: {
getSearchResults: function() {
this.loading = true;
return axios.get(`http://localhost:8000/search?text=${this.$route.query.text}`) //you will need to enable CORS to make this work
return axios.get(`http://api-beta.open5e.com/search?text=${this.$route.query.text}`) //you will need to enable CORS to make this work
.then(response => {
this.results = response.data.results
this.loading = false
Expand Down
2 changes: 1 addition & 1 deletion ui/pages/spells/spells-list.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default {
FilterInput
},
mounted () {
return axios.get(`http://localhost:8000/spells/?fields=slug,name&limit=1000`) //you will need to enable CORS to make this work
return axios.get(`http://api-beta.open5e.com/spells/?fields=slug,name&limit=1000`) //you will need to enable CORS to make this work
.then(response => {
this.spells = response.data.results
})
Expand Down

0 comments on commit ac23d82

Please sign in to comment.