See #327: Cleaned now unused backend.absoluteUrl and config module

This commit is contained in:
Eliot Berriot 2018-06-23 07:25:27 +02:00
parent f3e2193782
commit 2e3a2cd6dd
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
20 changed files with 24 additions and 61 deletions

View file

@ -43,8 +43,6 @@
<script>
import axios from 'axios'
import backend from '@/audio/backend'
export default {
data () {
return {
@ -72,7 +70,7 @@ export default {
})
},
getUrl (code) {
return backend.absoluteUrl(this.$router.resolve({name: 'signup', query: {invitation: code.toUpperCase()}}).href)
return this.$store.getters['instance/absoluteUrl'](this.$router.resolve({name: 'signup', query: {invitation: code.toUpperCase()}}).href)
}
}
}