docs(zod-openapi): Use origin for zod-openapi example, not hostname. (#291)
parent
f8027e1bd2
commit
848693c041
|
@ -341,7 +341,7 @@ app.doc('/doc', c => ({
|
|||
},
|
||||
servers: [
|
||||
{
|
||||
url: new URL(c.req.url).hostname,
|
||||
url: new URL(c.req.url).origin,
|
||||
description: 'Current environment',
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue