참고 / 환경별 호스트
참고 / 환경별 호스트
환경별 호스트
운영/개발 환경의 엔드포인트입니다.
호스트
| 환경 | host | chatAppUrl |
|---|---|---|
| 운영 | https://api.lillo.cx | https://chat.lillo.cx |
| 개발 | https://api-dev.lillo.cx | https://chat-dev.lillo.cx |
콘솔의 버튼 설치 페이지에서 환경 토글로 각 환경용 스니펫을 받을 수 있습니다.
운영 환경 — init config
window.LilloSDK.init({
host: 'https://api.lillo.cx',
chatAppUrl: 'https://chat.lillo.cx',
clientKey: 'YOUR_CLIENT_KEY'
});개발 환경 — init config
window.LilloSDK.init({
host: 'https://api-dev.lillo.cx',
chatAppUrl: 'https://chat-dev.lillo.cx',
clientKey: 'YOUR_DEV_CLIENT_KEY'
});