could listen to unix socket, better conf

This commit is contained in:
lesion
2019-06-10 00:40:37 +02:00
parent d1a56e5135
commit b01f4ef04d
15 changed files with 107 additions and 76 deletions

View File

@@ -107,7 +107,7 @@ export default {
params.push(`places=${this.filters.places}`)
}
return `<iframe src="/embed/list?${params.join('&')}"></iframe>`
return `<iframe src="${process.env.baseurl}/embed/list?${params.join('&')}"></iframe>`
},
link () {
const tags = this.filters.tags.join(',')
@@ -123,7 +123,7 @@ export default {
}
}
return `/api/export/${this.type}${query}`
return `${process.env.baseurl}/api/export/${this.type}${query}`
},
showLink () {
return (['feed', 'ics'].indexOf(this.type)>-1)