We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://vercel.com/docs/configuration#project/builds suggests that "builds" will eventually be deprecated. We use that here:
datasette-publish-vercel/datasette_publish_vercel/__init__.py
Line 204 in 2a4723e
The text was updated successfully, but these errors were encountered:
It looks like functions have to run out of an api directory - https://vercel.com/docs/configuration#project/functions
api
But then the "rewrites" mechanism can hopefully be used to say "all traffic to /* should be handed off to this function". https://vercel.com/docs/configuration#project/rewrites
"rewrites"
/*
{ "rewrites": [ { "source": "/about", "destination": "/about-our-company.html" }, { "source": "/resize/:width/:height", "destination": "/api/sharp" }, { "source": "/user/:id", "destination": "/api/user" }, { "source": "/proxy/:match*", "destination": "https://example.com/:match*" } ] }
So presumably we would need something like this:
{ "rewrites": [ { "source": "/:path*", "destination": "/api/datasette.py/:match*" }, ] }
Sorry, something went wrong.
This may be why I've not been able to test the Vercel fix for the percent encoding issue in #28 - vercel/vercel#5575 (comment)
No branches or pull requests
https://vercel.com/docs/configuration#project/builds suggests that "builds" will eventually be deprecated. We use that here:
datasette-publish-vercel/datasette_publish_vercel/__init__.py
Line 204 in 2a4723e
The text was updated successfully, but these errors were encountered: