What is the correct way of declaring a Service Binding (RPC)?
I've seen both
services = [
{ binding = "ADMIN", service = "todo-app" }
]
and
[[services]]
binding = "ADMIN"
service = "todo-app"
entrypoint = "AdminEntrypoint"
Also sometimes it includes
environment='production'
and sometimes not. Is there even an environment=local
?
I'm working with next-on-pages, R2 storage, D1, KV and Vectorize.
D1 and KV work fine locally, the others don't?0 Replies