mirror of https://github.com/CrimsonTome/tldr.git
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}}`
|