Skip to content

fix#7501

Merged
mhartington merged 1 commit intomainfrom
fix/testing
Feb 16, 2026
Merged

fix#7501
mhartington merged 1 commit intomainfrom
fix/testing

Conversation

@mhartington
Copy link
Member

@mhartington mhartington commented Feb 16, 2026

Summary by CodeRabbit

  • Chores
    • Updated documentation deployment configuration to properly serve static assets when docs are hosted under the /docs subdirectory in production, while maintaining local development functionality.
    • Disabled automatic runtime redirects in production to provide direct documentation access and streamline user navigation.

@vercel
Copy link

vercel bot commented Feb 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Building Building Preview, Comment Feb 16, 2026 6:26pm

Request Review

@mhartington mhartington merged commit 1a5cf11 into main Feb 16, 2026
4 of 10 checks passed
@mhartington mhartington deleted the fix/testing branch February 16, 2026 18:27
@github-actions
Copy link
Contributor

🍈 Lychee Link Check Report

3660 links: ✅ 2989 OK | 🚫 5 errors | 🔀 0 redirects | 👻 664 excluded

❌ Errors

./apps/docs/content/docs.v6/(index)/prisma-orm/add-to-existing-project/mongodb.mdx

./apps/docs/content/docs.v6/(index)/prisma-orm/quickstart/mongodb.mdx

./apps/docs/content/docs.v6/orm/prisma-client/setup-and-configuration/databases-connections/index.mdx

./apps/docs/content/docs/(index)/prisma-orm/add-to-existing-project/mongodb.mdx

./apps/docs/content/docs/(index)/prisma-orm/quickstart/mongodb.mdx


Full Statistics Table
Status Count
✅ Successful 2989
🔀 Redirected 0
👻 Excluded 664
🚫 Errors 5
⛔ Unsupported 2
⏳ Timeouts 0
❓ Unknown 0

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 16, 2026

Caution

Review failed

The pull request is closed.

Walkthrough

Added assetPrefix configuration to the Next.js config that conditionally uses '/docs' in production and empty string otherwise. Commented out the redirects() function that previously redirected all requests to https://prisma.io/docs/:path\* in production.

Changes

Cohort / File(s) Summary
Next.js Configuration
apps/docs/next.config.mjs
Added assetPrefix property with environment-based logic to ensure assets are served under the correct path during production deployment. Disabled the redirects() function by commenting it out, removing the runtime redirect to Prisma docs domain.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant