@freshsqueezed/mammothgql
Advanced tools
Comparing version
@@ -0,1 +1,8 @@ | ||
## [1.0.10](https://github.com/freshsqueezed/mammothgql/compare/v1.0.9...v1.0.10) (2024-12-18) | ||
### Bug Fixes | ||
* **uri:** remove extra trailing slash from path to work properly ([1113eae](https://github.com/freshsqueezed/mammothgql/commit/1113eaee7cd70236ea8621adc77da0c3254566bc)) | ||
## [1.0.9](https://github.com/freshsqueezed/mammothgql/compare/v1.0.8...v1.0.9) (2024-12-18) | ||
@@ -2,0 +9,0 @@ |
@@ -103,5 +103,5 @@ "use strict"; | ||
const path = req.path; | ||
const fullUrl = `${protocol}://${host}${path}/graphql`; | ||
const fullUrl = `${protocol}://${host}${path}graphql`; | ||
const wsProtocol = protocol === 'https' ? 'wss' : 'ws'; | ||
const wsUrl = `${wsProtocol}://${host}${path}/graphql`; | ||
const wsUrl = `${wsProtocol}://${host}${path}graphql`; | ||
res.send(`<!-- | ||
@@ -108,0 +108,0 @@ * Copyright (c) 2021 GraphQL Contributors |
@@ -6,3 +6,3 @@ { | ||
"types": "lib/index.d.ts", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"author": "Matt Gordon <matt@lemonade.tech>", | ||
@@ -9,0 +9,0 @@ "license": "MIT", |
@@ -169,5 +169,5 @@ import { NextFunction, Request, Response } from 'express'; | ||
const path = req.path; | ||
const fullUrl = `${protocol}://${host}${path}/graphql`; | ||
const fullUrl = `${protocol}://${host}${path}graphql`; | ||
const wsProtocol = protocol === 'https' ? 'wss' : 'ws'; | ||
const wsUrl = `${wsProtocol}://${host}${path}/graphql`; | ||
const wsUrl = `${wsProtocol}://${host}${path}graphql`; | ||
@@ -174,0 +174,0 @@ res.send(`<!-- |
Sorry, the diff of this file is not supported yet
37754
0.75%