Adding listing 6.11
Adding listing 6.12
Changing allowOrigins to allowOrigin