fix: pass enableCors true to swaggeruireact props doesn't seem to work
parent
c8d776aeb7
commit
57aeb19c66
|
@ -21,7 +21,7 @@ const swaggerHandler = withSwagger({
|
||||||
components: {
|
components: {
|
||||||
securitySchemes: { ApiKeyAuth: { type: "apiKey", in: "query", name: "apiKey" } },
|
securitySchemes: { ApiKeyAuth: { type: "apiKey", in: "query", name: "apiKey" } },
|
||||||
},
|
},
|
||||||
security: [{ apiKey: [] }],
|
security: [{ ApiKeyAuth: [] }],
|
||||||
},
|
},
|
||||||
apiFolder: "pages/api",
|
apiFolder: "pages/api",
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue