-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guestbook on OpenFaas/Python #9
Conversation
As we discussed offline, the CORS return headers aren't quite right yet for browser consumption. It appears as though the OpenFaaS Python template isn't passing in OPTIONS requests to your function code, something I ran into for the Node template as well. When you do a
In particular, But when you do the same on
Not only is I tried going into the template
to
but that didn't work, so there's some deeper Flask investigating to do here. I'm happy to do that if you'd like, but I won't have time until Monday at the earliest. |
OK, turns out I'm a total idiot. In my haste when checking this before, what I failed to realize is that, when trying to open up the The good news is, by simply adding the
|
Many thanks for your guidance and clarification, Pete. I gave it a try and now everything works great! |
Guestbook implementation on OpenFaaS+Python.