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

site: support new folder structure in REPL #2945

Merged
merged 2 commits into from
Jun 4, 2019
Merged

site: support new folder structure in REPL #2945

merged 2 commits into from
Jun 4, 2019

Conversation

Conduitry
Copy link
Member

The mate to sveltejs/svelte-repl#27

This endpoint was turned into a spread to support requesting files down in directories. The old regex check /^[a-z.]+$/ has also been removed because it's now too restrictive. Hopefully this won't be too much of a security risk, as this endpoint is only allowed to run in development. This could still be tightened up if desired though.

@Conduitry
Copy link
Member Author

Went ahead and tightened up the checks again anyway.

@Conduitry
Copy link
Member Author

Added commit to bump the REPL version so that hopefully everything just works as it should whenever the next version of Svelte is released.

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