Adding cors options method for /location/list