Skip to content

chore: add --host option to playground:start script in package.json #2377

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

Merged

Conversation

lumirlumir
Copy link
Contributor

@lumirlumir lumirlumir commented Nov 25, 2024

Hello, I’ve added the --host option to the playground:start and playground-js:start scripts in package.json.

This change enables the playground to work on cross-platform devices like mobile phones or tablets using an IP address.

Additionally, it does not affect the previous functionality. It simply extends the playground’s compatibility to work on various devices.

image

This option is also documented in Vite.

Copy link

netlify bot commented Nov 25, 2024

‼️ Deploy request for docsearch rejected.

Name Link
🔨 Latest commit 19fbd64

Copy link
Member

@shortcuts shortcuts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great :) thanks for the contribution!

@shortcuts shortcuts merged commit 7a42e60 into algolia:main Nov 25, 2024
6 checks passed
@lumirlumir lumirlumir deleted the chore-add-host-option-to-playground-start branch November 25, 2024 13:19
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.

2 participants