mirror of
https://github.com/bitinflow/server.git
synced 2026-03-13 21:45:54 +00:00
Generate human readable IDs for client URLs (#77)
Based on @FranzSkuffka's suggested enhancement in PR 207 on localtunnel/localtunnel (https://github.com/localtunnel/localtunnel/pull/207), this PR uses the "human-readable-ids" package to generate IDs of the form "adjective-noun-number". These IDs are easier to remember and arguably more useful in testing since they can be retyped without copying and pasting. Some sample IDs generated by this package are: * heavy-puma-90 * grump-walrus-64 * purple-starfish-58 * nasty-seahorse-9
This commit is contained in:
committed by
Roman Shtylman
parent
d7852a3dd1
commit
b1c296a409
@@ -37,7 +37,7 @@ You can now use your domain with the `--host` flag for the `lt` client.
|
||||
lt --host http://sub.example.tld:1234 --port 9000
|
||||
```
|
||||
|
||||
You will be assigned a URL similar to `qdci.sub.example.com:1234`.
|
||||
You will be assigned a URL similar to `heavy-puma-9.sub.example.com:1234`.
|
||||
|
||||
If your server is acting as a reverse proxy (i.e. nginx) and is able to listen on port 80, then you do not need the `:1234` part of the hostname for the `lt` client.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user