Express backend cors error

i just followed idx full-stack development tutorial (here: https://idx.dev/blog/article/full-stack-development-in-project-idx). used cors() middleware in express and fetching from front end with credentials: 'include' to mapped url of backend server. but everytime i get cors error. it’s chronic problem of idx or something i’m doing wrong?

if you are trying in the web emulator,