Skip to content

Commit

Permalink
fix: sse not available in sub-dir deployment #829
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJacky committed Jan 24, 2025
1 parent 650196d commit 250bd8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/components/NodeSelector/NodeSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function reconnect() {
}
function newSSE() {
const s = new SSE('/api/environments/enabled', {
const s = new SSE('api/environments/enabled', {
headers: {
Authorization: token.value,
},
Expand Down
2 changes: 1 addition & 1 deletion app/src/components/Notification/Notification.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function reconnect() {
}
function newSSE() {
const s = new SSE('/api/notifications/live', {
const s = new SSE('api/notifications/live', {
headers: {
Authorization: token.value,
},
Expand Down

0 comments on commit 250bd8e

Please sign in to comment.