mirror of
https://github.com/HeyPuter/puter.git
synced 2026-01-04 20:20:50 -06:00
filter workers from hosting list
This commit is contained in:
committed by
Neal Shah
parent
478591b676
commit
282acfb048
@@ -39,7 +39,9 @@ class Hosting{
|
||||
}
|
||||
|
||||
// todo document the `Subdomain` object.
|
||||
list = utils.make_driver_method([], 'puter-subdomains', undefined, 'select');
|
||||
list = async (...args) => {
|
||||
return (await utils.make_driver_method([], 'puter-subdomains', undefined, 'select')(...args)).filter(e => !e.subdomain.startsWith("workers.puter."));
|
||||
}
|
||||
|
||||
create = async (...args) => {
|
||||
let options = {};
|
||||
|
||||
Reference in New Issue
Block a user