Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
shorexilin committed Feb 20, 2024
0 parents commit 3276a85
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# vercel-proxy-openai

Deloy transparent OpenAI Proxy

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fthomasnyderp%2Fvercel-proxy-openai)


OpenAI API url is: https://api.openai.com/v1


Then your proxy API url will be: https://xxxx.vercel.app/v1 ,

if you assign your domain. It will be: https://you-domain/v1
8 changes: 8 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"rewrites": [
{
"source": "/:match*",
"destination": "https://api.openai.com/:match*"
}
]
}

0 comments on commit 3276a85

Please sign in to comment.