Skip to content

Commit

Permalink
chore: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Nauxscript committed Sep 21, 2023
1 parent 232b1fe commit 1e4db7d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,22 @@ a Workflow to open local listened port easily.
快速打开本地端口工作流。

## Usage
- Press enter (↵): open the port in `localhost` prefix.
- Press ctrl + enter (⌃ ↵):open the port in intranet ip prefix.
- Press cmd + enter (⌘ ↵):open the port in `127.0.0.1` prefix.
- Press enter (↵): open the port in `localhost` prefix.
- Press ctrl + enter (⌃ ↵): open the port in intranet ip prefix.
- Press cmd + enter (⌘ ↵): open the port in `127.0.0.1` prefix.
- Press opt + enter (⌥ ↵): delete the stored port.
- 回车键(↵):直接在 `localhost` 打开端口。
- ctrl 键 + 回车键(⌃ ↵):在当前内网 ip 打开端口。
- cmd 键 + 回车键(⌘ ↵):在 `127.0.0.1` 打开端口
- opt 键 + 回车键 (⌥ ↵): 删除当前端口记录.

## Environment Variables

- `myPorts`: Set `myPorts` in the environment variables to set commonly used port numbers, such as `8080, 9527, 4343` so that they are displayed by default when entering workflow keywords, reducing input.
- `myPorts`: Set `myPorts` in the environment variables to set commonly used port numbers, such as `8080, 9527, 4343` so that they are displayed by default when entering workflow keywords, reducing input. note: you cannot delete the port set in environment variables by pressing opt + enter.

- `notificationEnabled`: To set up notification prompts, set notificationEnabled in the environment variables. Once enabled, a prompt will appear every time a specified port is accessed.

- `myPorts`: 在环境变量中设置 `myPorts` 来设置常用的端口号,如 `8080,9527,4343`以便在输入工作流关键字时默认显示这些端口好,减少输入。
- `myPorts`: 在环境变量中设置 `myPorts` 来设置常用的端口号,如 `8080,9527,4343`以便在输入工作流关键字时默认显示这些端口号,减少输入。注意:你无法删除通过 opt 键 + 回车键 删除在环境变量中设置的端口号

- `notificationEnabled`: 在环境变量中设置 `notificationEnabled` 来设置打开提示,开启后每次访问所选端口好都会提示。

Expand Down

0 comments on commit 1e4db7d

Please sign in to comment.