mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-26 19:32:46 +00:00
dev: expose file_uid in worker calls
This commit is contained in:
committed by
Neal Shah
parent
f8e95c4002
commit
15eefb1122
@@ -280,7 +280,7 @@ class WorkerService extends BaseService {
|
||||
for (const domain of currentDomains) {
|
||||
const node = await domain.get("root_dir")
|
||||
const subdomainString = (await domain.get("subdomain"))
|
||||
domainToPath.push({ name: subdomainString.split(".").pop(), url: `https://${subdomainString}`, path: await node.get("path"), created_at: await domain.get("created_at") });
|
||||
domainToPath.push({ name: subdomainString.split(".").pop(), url: `https://${subdomainString}`, file_path: await node.get("path"), file_uid: await node.get("uid"), created_at: await domain.get("created_at") });
|
||||
}
|
||||
return domainToPath;
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user