docs(zod-openapi): Use origin for zod-openapi example, not hostname. (#291)

pull/293/head
David Manouchehri 2023-12-06 19:04:52 -05:00 committed by GitHub
parent f8027e1bd2
commit 848693c041
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ app.doc('/doc', c => ({
}, },
servers: [ servers: [
{ {
url: new URL(c.req.url).hostname, url: new URL(c.req.url).origin,
description: 'Current environment', description: 'Current environment',
}, },
], ],