@scalar/fastify-api-reference 1.25.20 → 1.25.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/fastifyApiReference.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -1
- package/dist/js/standalone.js +16417 -15880
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -14471,7 +14471,8 @@ const fastifyApiReference = fp(
|
|
|
14471
14471
|
configuration = {
|
|
14472
14472
|
...configuration,
|
|
14473
14473
|
spec: {
|
|
14474
|
-
|
|
14474
|
+
// Use a relative URL in case we're proxied
|
|
14475
|
+
url: `.${getOpenApiDocumentEndpoints(options.openApiDocumentEndpoints).json}`
|
|
14475
14476
|
}
|
|
14476
14477
|
};
|
|
14477
14478
|
}
|