diff options
| author | shu <nvcsadjkojf@outlook.com> | 2026-08-19 15:56:06 +0800 |
|---|---|---|
| committer | shu <nvcsadjkojf@outlook.com> | 2026-08-19 15:56:06 +0800 |
| commit | ca1a4a31706d0c03673fe4c414c645ed826b21c6 (patch) | |
| tree | c412265a19dd4694c39aac65b6e1a8903a513978 /tiddlers/files API demo.tid | |
| parent | 490d41f154615a52734f117d7d7bda5a9331e303 (diff) | |
精简 Wiki 构建与运行方式
将浏览器端工具整理为 utilities 插件,移除 Docker、Org GTD 和 files API,并补充单文件构建及 Node.js 运行入口。
Diffstat (limited to 'tiddlers/files API demo.tid')
| -rw-r--r-- | tiddlers/files API demo.tid | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/tiddlers/files API demo.tid b/tiddlers/files API demo.tid deleted file mode 100644 index dce6e46..0000000 --- a/tiddlers/files API demo.tid +++ /dev/null @@ -1,51 +0,0 @@ -created: 20260726073547121 -modified: 20260726085801292 -tags: tiddlywiki -title: files API demo -type: text/vnd.tiddlywiki - -\procedure store-file-list() -<$action-setfield - $tiddler="$:/temp/files-list" - text=<<data>> - type="application/json" -/> -\end - -<$button> - <$action-sendmessage - $message="tm-http-request" - url="./api/files" - method="GET" - oncompletion=<<store-file-list>> - /> - 刷新文件列表 -</$button> - -<pre><$text text={{$:/temp/files-list}}/></pre> - -[img[./files/photo_2026-07-26_11-10-12.jpg]] - - -```caddyfile -example.com { - encode zstd gzip - - @api path /api/* - reverse_proxy @api localhost:3000 - - header { - X-Content-Type-Options nosniff - } -} -``` - -```json5 -{ - // 支持注释 - unquoted: 'value', - hexadecimal: 0xFF, - infinity: Infinity, - trailingComma: true, -} -```
\ No newline at end of file |
