Phiên bản v2 của website đọc danh sách cuộc trò chuyện từ các file JSON trong thư mục data.
Upload v2 trong CloudShell:
cd ~/ws2-chatapp && aws s3 sync v2/Site s3://$BUCKET --exclude '*desktop.ini' && aws s3 ls s3://$BUCKET/data/ --recursive
js/site.js và file dữ liệu.data/conversations.json liệt kê các cuộc trò chuyện, data/conversations/1.json và 2.json chứa tin nhắn.
Tải lại https://<distribution-domain>/chats.html.

Chọn Brian.
chat.html#1 tải tin nhắn từ data/conversations/1.json.
Nút Send chưa làm gì: website tĩnh không lưu được dữ liệu. Phần tiếp theo bạn thêm API.