Ariweb Suite 0.1.1 기반: 공통 라이브러리(db·http·세션·작업 엔진·할당/예약·알림·감사·보관소), 포털 뼈대, Webmaker/AriMail 도입 소스와 manifest
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
9ca4cee341
commit
c7aea8d419
@@ -0,0 +1,8 @@
|
||||
'use strict';
|
||||
// Openprovider 등록 업체 (v1.5.36) — 1.4.0 의 lib/openprovider.js 도메인 함수를 공통 모양(lib/registrar.js)으로 감싼다
|
||||
const op = require('../openprovider');
|
||||
module.exports = { id: 'openprovider', label: 'Openprovider', ready: op.ready, split: op.split, check: op.check, price: op.price, createCustomer: op.createCustomer,
|
||||
createDomain: (fqdn, o) => op.createDomain(fqdn, { handle: o.handle, period: o.period, autorenew: 'off' }), renewDomain: (ref, fqdn, period) => op.renewDomain(ref, fqdn, period),
|
||||
getDomain: async (ref) => { const d = await op.getDomain(ref); return { expiresAt: d && d.expiration_date || null, status: d && d.status || null }; },
|
||||
setNameServers: async (fqdn, ref, ns) => op.call('PUT', `/domains/${ref}`, { id: ref, domain: op.split(fqdn), name_servers: ns.map((n) => ({ name: n })) }).then(() => ({ ok: true })),
|
||||
needsContact: true };
|
||||
Reference in New Issue
Block a user