Skip to content

Commit

Permalink
move redirects up
Browse files Browse the repository at this point in the history
  • Loading branch information
vivianyentran committed Aug 7, 2024
1 parent 0b8f0c4 commit 047d89d
Showing 1 changed file with 44 additions and 44 deletions.
88 changes: 44 additions & 44 deletions src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3261,6 +3261,50 @@ const USER_DOCS_REDIRECTS: Redirect[] = [
from: '/platforms/javascript/guides/aws-lambda/layer/',
to: '/platforms/javascript/guides/aws-lambda/install/',
},
{
from: '/api/projects/post-project-service-hooks/',
to: '/api/projects/register-a-new-service-hook/',
},
{
from: '/clients/cocoa/',
to: '/platforms/apple/',
},
{
from: '/clients/react-native/',
to: 'platforms/react-native/',
},
{
from: '/learn/scopes/?platform=rust/',
to: '/platforms/rust/enriching-events/scopes/',
},
{
from: '/platforms/android/android-video/',
to: '/platforms/android/',
},
{
from: '/platforms/android/tracing/included-instrumentation/',
to: '/platforms/android/tracing/instrumentation/automatic-instrumentation',
},
{
from: '/platforms/javascript/guides/cordova/tracing/trace-propagation/',
to: '/platforms/javascript/guides/cordova/tracing/instrumentation/custom-instrumentation/',
},
{
from: '/platforms/javascript/pluggable-integrations/',
to: '/platforms/javascript/configuration/integrations/#lazy-loading-integrations',
},
{
from: '/platforms/react-native/tracing/included-instrumentation/',
to: '/platforms/react-native/tracing/instrumentation/automatic-instrumentation/',
},
{
from: '/platforms/rust/env_logger/index.html/',
to: '/platforms/rust/configuration/environments/',
},
{
from: '/clients/cordova/',
to: '/platforms/javascript/guides/cordova/',
},
];

const DEVELOPER_DOCS_REDIRECTS: Redirect[] = [
Expand Down Expand Up @@ -3456,50 +3500,6 @@ const DEVELOPER_DOCS_REDIRECTS: Redirect[] = [
from: '/sdk/distributed-tracing/',
to: '/sdk/telemetry/traces/distributed-tracing/',
},
{
from: '/api/projects/post-project-service-hooks/',
to: '/api/projects/register-a-new-service-hook/',
},
{
from: '/clients/cocoa/',
to: '/platforms/apple/',
},
{
from: '/clients/react-native/',
to: 'platforms/react-native/',
},
{
from: '/learn/scopes/?platform=rust/',
to: '/platforms/rust/enriching-events/scopes/',
},
{
from: '/platforms/android/android-video/',
to: '/platforms/android/',
},
{
from: '/platforms/android/tracing/included-instrumentation/',
to: '/platforms/android/tracing/instrumentation/automatic-instrumentation',
},
{
from: '/platforms/javascript/guides/cordova/tracing/trace-propagation/',
to: '/platforms/javascript/guides/cordova/tracing/instrumentation/custom-instrumentation/',
},
{
from: '/platforms/javascript/pluggable-integrations/',
to: '/platforms/javascript/configuration/integrations/#lazy-loading-integrations',
},
{
from: '/platforms/react-native/tracing/included-instrumentation/',
to: '/platforms/react-native/tracing/instrumentation/automatic-instrumentation/',
},
{
from: '/platforms/rust/env_logger/index.html/',
to: '/platforms/rust/configuration/environments/',
},
{
from: '/clients/cordova/',
to: '/platforms/javascript/guides/cordova/',
},
];

const redirectMap = new Map(
Expand Down

0 comments on commit 047d89d

Please sign in to comment.