Skip to content

Commit

Permalink
fix: https support
Browse files Browse the repository at this point in the history
  • Loading branch information
D-D-H committed Dec 8, 2023
1 parent 4cbdf3b commit 377afb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/composables/analysis-api-requester.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function byStomp(resolve: (req: Requester) => void) {
const resRejMap = new Map<number, ResRej>();

const client = new Client({
brokerURL: `${'https' === location.protocol ? 'wss' : 'ws'}://${location.host}/jifa-stomp`,
brokerURL: `${'https:' === location.protocol ? 'wss' : 'ws'}://${location.host}/jifa-stomp`,
reconnectDelay: 5000
});

Expand Down

0 comments on commit 377afb1

Please sign in to comment.