mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-19 07:50:52 +00:00
dev: workers, return iso timestamp instead
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
This commit is contained in:
committed by
Neal Shah
parent
15eefb1122
commit
94b6538851
@@ -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}`, file_path: await node.get("path"), file_uid: await node.get("uid"), 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: (new Date(await domain.get("created_at"))).toISOString() });
|
||||
}
|
||||
return domainToPath;
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user