Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

Commit

Permalink
Add config
Browse files Browse the repository at this point in the history
  • Loading branch information
subotic committed Jun 18, 2019
1 parent 09f8803 commit baa43a3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 23 deletions.
2 changes: 1 addition & 1 deletion public/config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
window.CONFIG = {
"SERVER": "https://api.dasch.swiss",
"ONTOLOGY": "http://api.dasch.swiss:443"
}
};
17 changes: 0 additions & 17 deletions server.js

This file was deleted.

9 changes: 4 additions & 5 deletions src/components/LexiconComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

<script>
import axios from 'axios';
import router from '../router';
import {simplify_resource} from '../lib/jsonld_simplifier';
export default {
Expand All @@ -21,9 +20,9 @@
return {
lexicon: {
props: {},
server: this.$env.get('SERVER'),
ontology: this.$env.get('ONTOLOGY')
}
},
server: this.$env.get('SERVER'),
ontology: this.$env.get('ONTOLOGY')
}
},
props: {
Expand Down Expand Up @@ -52,4 +51,4 @@

<style scoped>
</style>
</style>

0 comments on commit baa43a3

Please sign in to comment.