Skip to content

Commit

Permalink
Post to connection with https, not wss
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasnaphas committed Apr 21, 2024
1 parent d2739fd commit 75ed23d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend-v2/submit.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ exports.handler = async function (event) {
Array.isArray(queryForReadConnectionsResponse.Items)
) {
const readConnections = queryForReadConnectionsResponse.Items;
const endpoint = `wss://${process.env.READ_ENDPOINT}`;
const endpoint = `https://${process.env.READ_ENDPOINT}`;
const apiGatewayManagementApiClient = new ApiGatewayManagementApiClient({
region,
endpoint,
Expand Down

0 comments on commit 75ed23d

Please sign in to comment.