Zipper-Inc / zipper-functions

The code for zipper.dev and zipper.run. Write and run typescript functions in your browser without having to write any auth, FE, API code.
https://zipper.dev
MIT License
6 stars 2 forks source link

zipper.run: allow path without extension #726

Closed miguel-nascimento closed 10 months ago

miguel-nascimento commented 10 months ago

handler: zipper.ts

previously /zipper.ts -> will match to zipper.ts /zipper.tsx -> doesnt work /zipper -> doesnt work

now /zipper.ts -> will match to zipper.ts /zipper.tsx -> will match to zipper.ts /zipper -> will match to zipper.ts

The redirect works in zipper.run/<path>, zipper.run/run/<path> and zipper.run/<path>/api

vercel[bot] commented 10 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
zipper-run ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 16, 2024 6:31pm
imadha commented 10 months ago

Looks good! I'll merge it later today if you don't get to it and make sure it works in prod - this is the only place I've seen this issue.