Concepts
netlify.toml to pxxl.toml
netlify.toml
pxxl.toml
- A Netlify redirect with
status = 200is a rewrite on Pxxl. /*with:splatbecomes/:path*with:path*.- The
/* /index.html 200fallback becomes[routing] spa = true.
Netlify Functions
Netlify handlers useexports.handler = async (event) => ({ statusCode, body }). Pxxl functions use Vercel-style (req, res) or Web Request/Response. Move each file into api/ and rewrite the wrapper:
api/hello.ts
[functions] enabled = true. Calls to /.netlify/functions/hello should change to /api/hello.
Checklist
- Import the site or connect the repo.
- Write
pxxl.tomlfromnetlify.toml,_redirects, and_headers. - Port functions to
api/. - Test the Pxxl URL, then move your domain.

