Docs: fix sharp_binary_host example by adding version (#3568)

This commit is contained in:
cychub 2023-03-12 20:58:08 +08:00 committed by GitHub
parent fc03fba602
commit 0a16d26ec7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,7 +148,7 @@ or the `npm_config_sharp_local_prebuilds` environment variable.
URL example: URL example:
if `sharp_binary_host` is set to `https://hostname/path` if `sharp_binary_host` is set to `https://hostname/path`
and the sharp version is `1.2.3` then the resultant URL will be and the sharp version is `1.2.3` then the resultant URL will be
`https://hostname/path/sharp-v1.2.3-napi-v5-platform-arch.tar.gz`. `https://hostname/path/v1.2.3/sharp-v1.2.3-napi-v5-platform-arch.tar.gz`.
Filename example: Filename example:
if `sharp_local_prebuilds` is set to `/path` if `sharp_local_prebuilds` is set to `/path`