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

Cloudflare config should be under provider property #5651

Merged
merged 2 commits into from Jan 7, 2019
File filter...
Filter file types
Jump to file or symbol
Failed to load files and symbols.
+9 −9
Diff settings

Always

Just for now

@@ -23,12 +23,12 @@ All of the Cloudflare Workers in your serverless service can be found in `server
service: service:
name: hello-world name: hello-world
config:
accountId: CLOUDFLARE_ACCOUNT_ID
zoneId: CLOUDFLARE_ZONE_ID
provider: provider:
name: cloudflare name: cloudflare
config:
accountId: CLOUDFLARE_ACCOUNT_ID
zoneId: CLOUDFLARE_ZONE_ID
plugins: plugins:
- serverless-cloudflare-workers - serverless-cloudflare-workers
@@ -69,12 +69,12 @@ If you have an Enterprise Cloudflare account, you can add multiple Cloudflare Wo
service: service:
name: hello-world name: hello-world
config:
accountId: CLOUDFLARE_ACCOUNT_ID
zoneId: CLOUDFLARE_ZONE_ID
provider: provider:
name: cloudflare name: cloudflare
config:
accountId: CLOUDFLARE_ACCOUNT_ID
zoneId: CLOUDFLARE_ZONE_ID
plugins: plugins:
- serverless-cloudflare-workers - serverless-cloudflare-workers
@@ -79,12 +79,12 @@ You can see the name of the service, the provider configuration and the first fu
service: service:
name: hello-world name: hello-world
config:
accountId: CLOUDFLARE_ACCOUNT_ID
zoneId: CLOUDFLARE_ZONE_ID
provider: provider:
name: cloudflare name: cloudflare
config:
accountId: CLOUDFLARE_ACCOUNT_ID
zoneId: CLOUDFLARE_ZONE_ID
plugins: plugins:
- serverless-cloudflare-workers - serverless-cloudflare-workers
ProTip! Use n and p to navigate between commits in a pull request.