Access your function endpoints from static sites with CORS