(node:21048) UnhandledPromiseRejectionWarning: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
at ServerResponse.setHeader (_http_outgoing.js:470:11)
at handleUserRouter (C:\Users\Year Li\Desktop\blog\blog-1\src\router\user.js:16:9)
at getPostData.then.postData (C:\Users\Year Li\Desktop\blog\blog-1\app.js:86:22)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:21048) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch
block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)