adding krankerl config
This commit is contained in:
parent
d5038611e2
commit
a364043f5f
3
Makefile
3
Makefile
@ -49,3 +49,6 @@ clean:
|
|||||||
|
|
||||||
clean-dev:
|
clean-dev:
|
||||||
rm -rf node_modules
|
rm -rf node_modules
|
||||||
|
|
||||||
|
appstore:
|
||||||
|
krankerl package
|
||||||
|
6
krankerl.toml
Normal file
6
krankerl.toml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[package]
|
||||||
|
before_cmds = [
|
||||||
|
"composer install --no-dev -o",
|
||||||
|
"npm install --deps",
|
||||||
|
"npm run build",
|
||||||
|
]
|
@ -408,7 +408,7 @@ export default {
|
|||||||
loadSettings() {
|
loadSettings() {
|
||||||
|
|
||||||
axios.defaults.headers.common = {
|
axios.defaults.headers.common = {
|
||||||
'User-Agent': 'Nextcloud Radio App/1.0',
|
'User-Agent': 'Nextcloud Radio App/' + this.$version,
|
||||||
}
|
}
|
||||||
this.$store.dispatch('getVolumeState')
|
this.$store.dispatch('getVolumeState')
|
||||||
|
|
||||||
|
@ -105,7 +105,6 @@ export default {
|
|||||||
this.$emit('toggleSidebar')
|
this.$emit('toggleSidebar')
|
||||||
},
|
},
|
||||||
copyLink() {
|
copyLink() {
|
||||||
console.log(this.sidebarStation.favicon)
|
|
||||||
this.$copyText(this.urlResolved).then(
|
this.$copyText(this.urlResolved).then(
|
||||||
function() {
|
function() {
|
||||||
showSuccess(t('radio', 'Link copied to clipboard'))
|
showSuccess(t('radio', 'Link copied to clipboard'))
|
||||||
|
@ -38,6 +38,7 @@ Vue.prototype.n = translatePlural
|
|||||||
Vue.prototype.OC = window.OC
|
Vue.prototype.OC = window.OC
|
||||||
Vue.prototype.OCA = window.OCA
|
Vue.prototype.OCA = window.OCA
|
||||||
Vue.prototype.$apiUrl = 'https://de1.api.radio-browser.info'
|
Vue.prototype.$apiUrl = 'https://de1.api.radio-browser.info'
|
||||||
|
Vue.prototype.$version = '1.0'
|
||||||
|
|
||||||
Vue.use(VueClipboard)
|
Vue.use(VueClipboard)
|
||||||
Vue.use(VueBlurHash)
|
Vue.use(VueBlurHash)
|
||||||
|
Loading…
Reference in New Issue
Block a user