next js cors example. There are a couple of ways to instal