We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a648a7f commit b8e657cCopy full SHA for b8e657c
plugin.js
@@ -3,7 +3,7 @@
3
const fp = require('fastify-plugin')
4
const { parse } = require('fast-uri')
5
6
-function fastifyUrlData (fastify, options, next) {
+function fastifyUrlData (fastify, _options, next) {
7
fastify.decorateRequest('urlData', function (key) {
8
const scheme = this.headers[':scheme'] ? this.headers[':scheme'] : this.protocol
9
const host = this.hostname
0 commit comments