diffplug / diffplug/webtools

Support Cloudflare-style resolution

未關閉
#3 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Java
星號
0
分支
0
PR 合併指標
30 天內沒有已合併 PR

描述

https://developers.cloudflare.com/pages/configuration/serving-pages/#route-matching

> If an HTML file is found with a matching path to the current route requested, Pages will serve it. Pages will also redirect HTML pages to their extension-less counterparts: for instance, `/contact.html` will be redirected to `/contact`, and `/about/index.html` will be redirected to `/about/`.

貢獻指南

開啟貢獻指南

研究方向

先閱讀連結的 Cloudflare Pages 路由匹配文件。然後在 Gradle 外掛程式中找到現有的路徑解析入口,並為無副檔名的 HTML 路由、從 .html 路徑重新導向以及 index.html 目錄路由新增涵蓋。支援的路由能如描述般解析並重新導向即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java
領域
tooling, web-dev
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。