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

使用server时,如何更改访问路径为0.0.0.0,现在只有本机可以访问 #62

Open
lubeiyi opened this issue Feb 12, 2025 · 1 comment

Comments

@lubeiyi
Copy link

lubeiyi commented Feb 12, 2025

➜ Local: http://localhost:5173/
➜ Network: use --host to expose

@gxr404
Copy link
Owner

gxr404 commented Feb 13, 2025

请更新至 1.0.74, server已支持port 和host参数

yuque-dl/1.0.74

Usage:
  $ yuque-dl server <serverPath>

Options:
  -p, --port <port>   --port 1234 (default: 5173)
  --host [host]       --host 0.0.0.0 或 --host (default: localhost)
  -h, --help         Display this message 

自定义host

yuque-dl  server ./xxxx --host

自定义port

yuque-dl  server ./xxxx -p 1234

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

No branches or pull requests

2 participants