Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit 2d3ba3a

Browse files
committed
tweak of workers file upload syntax
1 parent a9995a7 commit 2d3ba3a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ $
806806
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.
807807

808808
```
809-
$ cli4 --put =@- /zones/:example.com/workers/script < modify-body.js
809+
$ cli4 --put @- /zones/:example.com/workers/script < modify-body.js
810810
{
811811
"etag": "1234567890123456789012345678901234567890123456789012345678901234",
812812
"id": "example-com",

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ yellow.
889889

890890
::
891891

892-
$ cli4 --put =@- /zones/:example.com/workers/script < modify-body.js
892+
$ cli4 --put @- /zones/:example.com/workers/script < modify-body.js
893893
{
894894
"etag": "1234567890123456789012345678901234567890123456789012345678901234",
895895
"id": "example-com",

0 commit comments

Comments
 (0)