mirror of
https://github.com/koel/koel
synced 2024-11-10 14:44:13 +00:00
fix pusher auth endpoint path (#674)
convert static string to template string to use the variable
This commit is contained in:
parent
c970481f19
commit
28a98089b5
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ export const socket = {
|
|||
}
|
||||
|
||||
this.pusher = new Pusher(window.PUSHER_APP_KEY, {
|
||||
authEndpoint: '${window.BASE_URL}api/broadcasting/auth',
|
||||
authEndpoint: `${window.BASE_URL}api/broadcasting/auth`,
|
||||
auth: {
|
||||
headers: {
|
||||
Authorization: `Bearer ${ls.get('jwt-token')}`
|
||||
|
|
Loading…
Reference in a new issue