@freshsqueezed/mammothgql
Advanced tools
Comparing version
@@ -0,1 +1,8 @@ | ||
## [1.0.22](https://github.com/freshsqueezed/mammothgql/compare/v1.0.21...v1.0.22) (2025-01-07) | ||
### Bug Fixes | ||
* **request:** super important that a new version releases ([4759bc9](https://github.com/freshsqueezed/mammothgql/commit/4759bc9b0147a3d45f05740027c2fb92824b1b66)) | ||
## [1.0.21](https://github.com/freshsqueezed/mammothgql/compare/v1.0.20...v1.0.21) (2025-01-07) | ||
@@ -2,0 +9,0 @@ |
@@ -102,3 +102,3 @@ "use strict"; | ||
const path = req.path; | ||
const fullUrl = `${protocol}://${host}${path}`; | ||
const fullUrl = `${protocol}://${host}${path}graphql`; | ||
const wsProtocol = protocol === 'https' ? 'wss' : 'ws'; | ||
@@ -105,0 +105,0 @@ const wsUrl = `${wsProtocol}://${host}${path}graphql`; |
@@ -6,3 +6,3 @@ { | ||
"types": "lib/index.d.ts", | ||
"version": "1.0.21", | ||
"version": "1.0.22", | ||
"author": "Matt Gordon <matt@lemonade.tech>", | ||
@@ -9,0 +9,0 @@ "license": "MIT", |
@@ -168,3 +168,3 @@ import { Request, Response } from 'express'; | ||
const path = req.path; | ||
const fullUrl = `${protocol}://${host}${path}`; | ||
const fullUrl = `${protocol}://${host}${path}graphql`; | ||
const wsProtocol = protocol === 'https' ? 'wss' : 'ws'; | ||
@@ -171,0 +171,0 @@ const wsUrl = `${wsProtocol}://${host}${path}graphql`; |
Sorry, the diff of this file is not supported yet
40160
0.73%