Skip to content

Commit 3556af5

Browse files
authored
Merge pull request #53615 from lazerwalker/patch-1
Remove content-type from static website upload command
2 parents 5633dfa + fabfe1b commit 3556af5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

articles/storage/blobs/storage-blob-static-website-how-to.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Upload objects to the *$web* container from a source directory.
154154
This example assumes that you're running commands from Azure Cloud Shell session.
155155

156156
```azurecli-interactive
157-
az storage blob upload-batch -s <source-path> -d \$web --account-name <storage-account-name> --content-type 'text/html; charset=utf-8'
157+
az storage blob upload-batch -s <source-path> -d \$web --account-name <storage-account-name>
158158
```
159159

160160
* Replace the `<storage-account-name>` placeholder value with the name of your storage account.
@@ -173,7 +173,6 @@ Upload objects to the *$web* container from a source directory.
173173
```powershell
174174
# upload a file
175175
set-AzStorageblobcontent -File "<path-to-file>" `
176-
-Properties @{ ContentType = "text/html; charset=utf-8";} `
177176
-Container `$web `
178177
-Blob "<blob-name>" `
179178
-Context $ctx

0 commit comments

Comments
 (0)