mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-12 04:54:52 +03:00
29 lines
508 B
Markdown
29 lines
508 B
Markdown
|
# expose
|
||
|
|
||
|
> An open source tunnel application for sharing websites.
|
||
|
> More information: <https://beyondco.de/docs/expose>.
|
||
|
|
||
|
- Register your authentication token:
|
||
|
|
||
|
`expose token {{token}}`
|
||
|
|
||
|
- Share the current working directory:
|
||
|
|
||
|
`expose`
|
||
|
|
||
|
- Share the current working directory with a specific subdomain:
|
||
|
|
||
|
`expose --subdomain={{subdomain}}`
|
||
|
|
||
|
- Share a local url:
|
||
|
|
||
|
`expose share {{url}}`
|
||
|
|
||
|
- Run the Expose server:
|
||
|
|
||
|
`expose serve`
|
||
|
|
||
|
- Run the Expose server with a specific hostname:
|
||
|
|
||
|
`expose serve {{hostname}}`
|