From 33ddf513e877a3d40b56611f8be22f6b6fc734f0 Mon Sep 17 00:00:00 2001 From: Akshay Shah Date: Fri, 12 Jan 2024 14:54:44 -0800 Subject: [PATCH] Add Go module support for cors and authn (#124) Add the plumbing required to resolve the connectrpc.com/authn and connectrpc.com/cors import paths (proposed and approved in #123). --- static/authn.html | 17 +++++++++++++++++ static/cors.html | 17 +++++++++++++++++ vercel.json | 10 ++++++++++ 3 files changed, 44 insertions(+) create mode 100644 static/authn.html create mode 100644 static/cors.html diff --git a/static/authn.html b/static/authn.html new file mode 100644 index 00000000..ed396353 --- /dev/null +++ b/static/authn.html @@ -0,0 +1,17 @@ + + + + + + + + API documentation for connectrpc.com/authn is on + pkg.go.dev. + + diff --git a/static/cors.html b/static/cors.html new file mode 100644 index 00000000..aefa0ba5 --- /dev/null +++ b/static/cors.html @@ -0,0 +1,17 @@ + + + + + + + + API documentation for connectrpc.com/cors is on + pkg.go.dev. + + diff --git a/vercel.json b/vercel.json index c1f9e572..8e726a37 100644 --- a/vercel.json +++ b/vercel.json @@ -1,6 +1,11 @@ { "trailingSlash": true, "redirects": [ + { + "source": "/authn/", + "destination": "/authn.html", + "permanent": true + }, { "source": "/conformance/", "destination": "/conformance.html", @@ -11,6 +16,11 @@ "destination": "/connect.html", "permanent": true }, + { + "source": "/cors/", + "destination": "/cors.html", + "permanent": true + }, { "source": "/grpchealth/", "destination": "/grpchealth.html",