Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*.xml text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
_redirects text eol=lf
__redirects text eol=lf
.editorconfig text eol=lf
.gitattributes text eol=lf
.prettierignore text eol=lf
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*.js @cloudflare/developer-advocacy @kristianfreeman @kodster28 @pedrosousa @haleycode @maxvp @marciocloudflare @GregBrimble @KianNH @WalshyDev
*.ts @cloudflare/developer-advocacy @kristianfreeman @kodster28 @pedrosousa @haleycode @maxvp @marciocloudflare @GregBrimble @KianNH @WalshyDev
/src/content/workers-ai-models/ @craigsdennis @pedrosousa @cloudflare/pcx-technical-writing
/public/_redirects @GregBrimble @KianNH @pedrosousa @WalshyDev @cloudflare/pcx-technical-writing
/public/__redirects @GregBrimble @KianNH @pedrosousa @WalshyDev @cloudflare/pcx-technical-writing

# AI

Expand Down
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ dist
# generated actions JS
.github/**/*/index.js
.github/CODEOWNERS
public/_redirects
public/__redirects
public/analytics/static/downloads/main.css
src/content/workers-ai-models/*.json
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"typescript.tsdk": "node_modules/typescript/lib",
"cSpell.enableFiletypes": ["mdx"]
"cSpell.enableFiletypes": ["mdx"],
"files.associations": { "__redirects": "plaintext", "_headers": "plaintext" }
}
2 changes: 1 addition & 1 deletion bin/validate-redirects.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { readFile } from "fs/promises";

async function main() {
const redirects = await readFile("public/_redirects", { encoding: "utf-8" });
const redirects = await readFile("public/__redirects", { encoding: "utf-8" });

let numInfiniteRedirects = 0;
let numUrlsWithFragment = 0;
Expand Down
Loading