website: fix go-import
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
		
							
								
								
									
										23
									
								
								website/src/pages/api/v3.jsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								website/src/pages/api/v3.jsx
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,23 @@
 | 
				
			|||||||
 | 
					import React from "react";
 | 
				
			||||||
 | 
					import Layout from "@theme/Layout";
 | 
				
			||||||
 | 
					import Head from "@docusaurus/Head";
 | 
				
			||||||
 | 
					import BrowserOnly from "@docusaurus/core/lib/client/exports/BrowserOnly";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function APIPage() {
 | 
				
			||||||
 | 
					    return (
 | 
				
			||||||
 | 
					        <Layout title="API">
 | 
				
			||||||
 | 
					            <Head>
 | 
				
			||||||
 | 
					                <meta
 | 
				
			||||||
 | 
					                    name="go-import"
 | 
				
			||||||
 | 
					                    content="goauthentik.io/api/v3 git https://github.com/goauthentik/client-go"
 | 
				
			||||||
 | 
					                ></meta>
 | 
				
			||||||
 | 
					            </Head>
 | 
				
			||||||
 | 
					            <BrowserOnly>
 | 
				
			||||||
 | 
					                {() => {
 | 
				
			||||||
 | 
					                    window.location.pathname = "/developer-docs/api/";
 | 
				
			||||||
 | 
					                }}
 | 
				
			||||||
 | 
					            </BrowserOnly>
 | 
				
			||||||
 | 
					        </Layout>
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					export default APIPage;
 | 
				
			||||||
		Reference in New Issue
	
	Block a user