Skip to content

Commit aceef1a

Browse files
authored
Remove deprecated Lockr integration documentation (#9831)
1 parent 6276064 commit aceef1a

File tree

3 files changed

+2
-208
lines changed

3 files changed

+2
-208
lines changed

src/middleware.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ const RedirectMap: Record<string, string> = {
188188
"/wp-cfm": "/guides/wordpress-configurations/wp-cfm",
189189
"/guides/agcdn/agcdn-wafio": "/guides/agcdn",
190190
"/guides/agcdn/agcdn-features": "/guides/agcdn",
191+
"/lockr": "/guides/secrets/overview",
191192

192193
// These are redirects that were not in AGCDN but discovered in the
193194
// process of migrating the site to Next.js.
@@ -229,7 +230,7 @@ export function middleware(request: NextRequest) {
229230
const siteMachineName = process.env.PANTHEON_SITE_MACHINE_NAME || "documentation-in-nextjs";
230231
const incomingProtocol = request.headers.get('x-proto') || '';
231232
const policyDocSurrogateKey = request.headers.get('policy-doc-surrogate-key') || '';
232-
if (incomingProtocol === 'http://' && policyDocSurrogateKey) {
233+
if (incomingProtocol === 'http' && policyDocSurrogateKey) {
233234
url.protocol = "https:";
234235
url.hostname = policyDocSurrogateKey;
235236
url.port = "";

src/source/content/lockr.md

Lines changed: 0 additions & 207 deletions
This file was deleted.
-43 KB
Binary file not shown.

0 commit comments

Comments
 (0)