mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 04:39:25 +02:00
Merge branch '327-versatile-front' into 'develop'
Resolve "Make it possible to point the front-end to custom API urls" Closes #327 See merge request funkwhale/funkwhale!269
This commit is contained in:
commit
7d60155b0f
25 changed files with 251 additions and 101 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue