mirror of
https://github.com/appwrite/appwrite
synced 2026-04-30 09:57:19 +00:00
245 B
245 B
const sdk = new Appwrite();
sdk .setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ;
let result = sdk.storage.getFileView('[FILE_ID]');
console.log(result); // Resource URL