Skip to content

Commit

Permalink
tweak of workers file upload syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
mahtin committed Feb 23, 2018
1 parent a9995a7 commit 2d3ba3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ $
Now lets add the script. Looking above, you will see that it's simple action is to modify the ```<body>``` statement and make the background yellow.

```
$ cli4 --put =@- /zones/:example.com/workers/script < modify-body.js
$ cli4 --put @- /zones/:example.com/workers/script < modify-body.js
{
"etag": "1234567890123456789012345678901234567890123456789012345678901234",
"id": "example-com",
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@ yellow.

::

$ cli4 --put =@- /zones/:example.com/workers/script < modify-body.js
$ cli4 --put @- /zones/:example.com/workers/script < modify-body.js
{
"etag": "1234567890123456789012345678901234567890123456789012345678901234",
"id": "example-com",
Expand Down

0 comments on commit 2d3ba3a

Please sign in to comment.