warning: Detected existing server middleware {Adonis/Middleware/Cors}, the current one will be ignored


#1

I registered cors according to the official website document, but he reported an error. I saw that the Chinese community has almost no activity, so I hope to get help here.error:
warning: Detected existing server middleware {Adonis/Middleware/Cors}, the current one will be ignored


#2

Can you share the content for start/kernel.js file?


#3

I have already solved it because he does not have a global registration.