Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: prevent leaking source code in examples #90

Merged
merged 4 commits into from
Mar 23, 2023

Conversation

ecklf
Copy link
Collaborator

@ecklf ecklf commented Mar 23, 2023

This prevents from publicly leaking the source code in deployments of the examples that are non-Next.js. This happens due to having it deployed as Other framework preset.

Choose "Other" as the Framework Preset. This sets the output directory as public if it exists or . (root directory of the project) otherwise

https://vercel.com/docs/concepts/deployments/configure-a-build#output-directory

@ecklf ecklf marked this pull request as ready for review March 23, 2023 16:35
@ecklf ecklf merged commit 559932b into main Mar 23, 2023
@ecklf ecklf deleted the ecklf/int-1835-prevent-leaking-source-code-in-non branch March 23, 2023 16:35
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