Making Your Vercel Deployment Public
To make your Vercel deployment's source code and logs publicly accessible, you need to modify the security settings for your project. Here's how to do it:
Through the Vercel Dashboard
- Select your project from your Vercel dashboard
- Select the Settings tab
- Choose the Security menu item
- Find the Build logs and source protection section
- Toggle off this setting to make your source code and logs publicly accessible 12
This will allow anyone to access your source code via /_src and build logs via /_logs paths.
Important Notes
- Disabling this protection will make your source code and logs publicly accessible to anyone with your deployment URL 12
- This change won't affect existing deployments - only new ones created after changing this setting 12
- If you want to make existing deployments' source code or logs private again, you'll need to delete those deployments 12
- You can also make a specific deployment public using the Vercel CLI with the
--public option or by using the public property in your vercel.json file 12