fix: pass enableCors true to swaggeruireact props doesn't seem to work
This commit is contained in:
1 parent
c8d776aeb7
commit
57aeb19c66
1 file changed
+1
-1
+1
-1
@@ -21,7 +21,7 @@ const swaggerHandler = withSwagger({
|
||||
components: {
|
||||
securitySchemes: { ApiKeyAuth: { type: "apiKey", in: "query", name: "apiKey" } },
|
||||
},
|
||||
security: [{ apiKey: [] }],
|
||||
security: [{ ApiKeyAuth: [] }],
|
||||
},
|
||||
apiFolder: "pages/api",
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user