FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
ai-python/docs/ai-python/proxy.ts at main · vercel-labs/ai-python · GitHub
vercel-labs
/
ai-python
Public
Notifications
You must be signed in to change notification settings
Fork
26
Star
192
Code
Issues
5
Pull requests
14
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
ai-python
/
docs
/
ai-python
/
proxy.ts
Copy path
More file actions
More file actions
Latest commit
History
History
History
17 lines (14 loc) · 463 Bytes
Breadcrumbs
ai-python
/
docs
/
ai-python
/
proxy.ts
Copy path
File metadata and controls
17 lines (14 loc) · 463 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import
{
createProxy
}
from
"@vercel/geistdocs/proxy"
;
import
{
config
as
geistdocsConfig
}
from
"@/lib/geistdocs/config"
;
import
{
trackMdRequest
}
from
"@/lib/geistdocs/md-tracking"
;
const
proxy
=
createProxy
(
{
config
:
geistdocsConfig
,
trackMarkdownRequest
:
trackMdRequest
,
before
:
(
)
=>
null
,
}
)
;
export
const
config
=
{
matcher
:
[
"/((?!api(?:/|$)|_next/static|_next/image|favicon.ico|sitemap.xml|robots.txt).*)"
,
]
,
}
;
export
default
proxy
;
Back
|
FazBrowse Home
|
New Git URL