Skip to content

Commit

Permalink
chore: apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Alan Shaw <alan.shaw@protocol.ai>
  • Loading branch information
vasco-santos and Alan Shaw authored Aug 5, 2022
1 parent 6e6806b commit 9afff9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/utils/url.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function getSourceUrl(request, env) {
.length
) {
throw new InvalidUrlError(
`invalid URL provided: ${urlString}: not nftstorage.link or w3s.link URL`
`invalid URL provided: ${urlString}: not ${env.GATEWAY_DOMAINS.join(' or ')} URL`
)
}

Expand Down

0 comments on commit 9afff9c

Please sign in to comment.