celld中文文档v0.6.2
GitHub ↗
文档 / 入门与运行

static-assets 示例源码

这些文件来自仓库的 examples/static-assets,可结合对应中文文档阅读和运行。

wrangler.jsonc

json
{
  "name": "static-assets",
  "compatibility_date": "2026-01-01",
  "assets": { "directory": "./public" }
}

public/index.html

xml
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>celld static assets</title>
  </head>
  <body>
    <h1>This file is served by celld.</h1>
  </body>
</html>

public/_headers

plaintext
/*
  X-Served-By: celld

public/_redirects

plaintext
/home / 301
celld v0.6.2 · 简体中文文档
产品名、API、命令与示例代码保留原始写法。

输入关键词,搜索 20 篇中文文档。

支持中文术语、API 与环境变量 · Esc 关闭