File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -25,14 +25,14 @@ export default {
2525 // This proxies to the actual Mintlify-hosted documentation
2626 const backendUrl = new URL ( request . url ) ;
2727 backendUrl . hostname = 'flipt.mintlify.app' ;
28-
28+
2929 const backendRequest = new Request ( backendUrl . toString ( ) , {
3030 method : request . method ,
3131 headers : request . headers ,
3232 body : request . body ,
3333 redirect : 'manual'
3434 } ) ;
35-
35+
3636 return fetch ( backendRequest ) ;
3737 }
3838
@@ -43,6 +43,7 @@ export default {
4343 "/logo/" ,
4444 "/snippets/" ,
4545 "/background.png" ,
46+ "/mintlify_assets/" ,
4647 "/_next/" ,
4748 "/api/" ,
4849 ".xml" ,
@@ -65,14 +66,14 @@ export default {
6566 // Proxy static assets to the Mintlify backend
6667 const backendUrl = new URL ( request . url ) ;
6768 backendUrl . hostname = 'flipt.mintlify.app' ;
68-
69+
6970 const backendRequest = new Request ( backendUrl . toString ( ) , {
7071 method : request . method ,
7172 headers : request . headers ,
7273 body : request . body ,
7374 redirect : 'manual'
7475 } ) ;
75-
76+
7677 return fetch ( backendRequest ) ;
7778 }
7879
You can’t perform that action at this time.
0 commit comments