Getting Local URL from payload cms instead of Uploadthing url #11819
-
Hey i am uring Uploadthing Storage for my videos, When a video get uploaded successfully it return some values like Url, _key, etc. But there is one plroblem the payload convert the url which uploadthing returns to local url, For examplet the uploadthnig will return url like :
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @sherawat-Lokesh If you want Payload to return the url of the item in storage directly, you can set |
Beta Was this translation helpful? Give feedback.
Hey @sherawat-Lokesh
If you want Payload to return the url of the item in storage directly, you can set
disablePayloadAccessControl
in your adapter config. See here for more info on what this does.