Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
8216543
Update pnpm-lock.yaml
dannyroosevelt Apr 29, 2025
7c06099
Fixing bad /apps redirect, adding catch-all redirect
dannyroosevelt Apr 30, 2025
f22bcbc
Update pnpm-lock.yaml
dannyroosevelt Apr 30, 2025
4173b1a
Merge branch 'master' into danny/fixing-docs-apps-redirect
dannyroosevelt Apr 30, 2025
c9d3129
Merge branch 'master' into danny/fixing-docs-apps-redirect
dannyroosevelt Apr 30, 2025
a30008a
Escaping unsafe characters and pnpm lock
dannyroosevelt Apr 30, 2025
354d379
Merge branch 'master' into danny/fixing-docs-apps-redirect
dannyroosevelt Apr 30, 2025
e4dca75
Update 404.tsx
dannyroosevelt Apr 30, 2025
9b41e49
Merge branch 'danny/fixing-docs-apps-redirect' of github.com:Pipedrea…
dannyroosevelt Apr 30, 2025
579e1c6
Merge branch 'danny/fixing-docs-apps-redirect' of github.com:Pipedrea…
dannyroosevelt Apr 30, 2025
9600bde
Update pnpm-lock.yaml
dannyroosevelt Apr 30, 2025
787970c
Delete apps.mdx
dannyroosevelt Apr 30, 2025
9780aab
Updating header anchor tags
dannyroosevelt May 6, 2025
36c08d5
Merge branch 'master' into danny/fixing-docs-apps-redirect
dannyroosevelt May 6, 2025
a7e2163
Update users.mdx
dannyroosevelt May 6, 2025
2326e48
Merge branch 'danny/fixing-docs-apps-redirect' of github.com:Pipedrea…
dannyroosevelt May 6, 2025
24ef2b6
Modifying 404 handling
dannyroosevelt May 6, 2025
a260ae4
Add redirects for /apps/apps/ and /integrations/ paths
dannyroosevelt May 6, 2025
bfd8748
Linting
dannyroosevelt May 6, 2025
ba2f41f
Removing 404 and middleware changes
dannyroosevelt May 6, 2025
346b30b
Capitalize section headers in API docs
dannyroosevelt May 6, 2025
f1cfd96
Update API reference links to match capitalized section headers
dannyroosevelt May 6, 2025
fb66ca8
Merge branch 'master' into danny/fixing-docs-apps-redirect
dannyroosevelt May 6, 2025
922760f
Update api.mdx
dannyroosevelt May 6, 2025
d27ef41
Merge branch 'danny/fixing-docs-apps-redirect' of github.com:Pipedrea…
dannyroosevelt May 6, 2025
68d0a78
Update pnpm-lock.yaml
dannyroosevelt May 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions docs-v2/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,6 @@ export default withNextra({
destination: "https://pipedream.com/apps/",
permanent: true,
},
{
source: "/apps/:path*/",
destination: "https://pipedream.com/apps/:path*/",
permanent: true,
},
{
source: "/support/",
destination: "https://pipedream.com/support/",
Expand Down
20 changes: 20 additions & 0 deletions docs-v2/pages/404.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { useEffect } from 'react'
import { useRouter } from 'next/router'

export default function Custom404() {
const router = useRouter()

useEffect(() => {
// 302 redirect (temporary) to home page
router.replace('/')
}, [router])

return (
<div style={{ display: 'flex', justifyContent: 'center', alignItems: 'center', height: '100vh' }}>
<div>
<h1>Page not found</h1>
<p>Redirecting to home page...</p>
</div>
</div>
)
}
Loading