# 创建一个简单的 hello.html 文件,供用户上传测试 Cloudflare Pages html_content = """ Hello Rainfish

你好,Rainfish!

这是你部署到 Cloudflare Pages 的第一个网页。

""" file_path = "/mnt/data/hello_rainfish.html" with open(file_path, "w", encoding="utf-8") as f: f.write(html_content) file_path