This repository has been archived by the owner on Jul 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from eukarya-inc/update-doc
docs: update readme, commentout
- Loading branch information
Showing
5 changed files
with
44 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,7 +57,8 @@ npm run start_proxy | |
|
||
> [email protected] start | ||
> node src/index.js | ||
Proxy listening at localhost:3456, NotionId: f1db0cfbe246475784c67f279289abea | ||
|
||
Listening at localhost:3456 by NotionProxy. NotionId: f1db0cfbe246475784c67f279289abea | ||
``` | ||
|
||
Start proxy binary. | ||
|
@@ -67,9 +68,22 @@ npm install -g pkg | |
npm run build | ||
./notion-proxy | ||
|
||
Proxy listening at localhost:3456, NotionId: f1db0cfbe246475784c67f279289abea | ||
Listening at localhost:3456 by NotionProxy. NotionId: f1db0cfbe246475784c67f279289abea | ||
``` | ||
|
||
Start proxy with AUTO_SET_OG_TAG for debug. | ||
|
||
```bash | ||
export AUTO_SET_OG_TAG='true'; npm run start_proxy | ||
|
||
> [email protected] start | ||
> node src/index.js | ||
|
||
Successful automatic fetched of OGP tag. Title: Re:Earth Documentation, Image: http://localhost:3456/image/ht..., Icon: http://localhost:3456/image/ht... | ||
Listening at localhost:3456 by NotionProxy. NotionId: f1db0cfbe246475784c67f279289abea | ||
``` | ||
|
||
|
||
## Proxy example with your domain | ||
|
||
```bash | ||
|
@@ -79,3 +93,12 @@ export IS_TLS="true" && \ | |
export AUTO_SET_OG_TAG="true" && \ | ||
npm run start_proxy | ||
``` | ||
|
||
## How to contribute | ||
|
||
1. Fork or clone the project | ||
2. Create your feature branch and Commit your changes | ||
3. Push to the branch | ||
4. Open a new pull request | ||
|
||
[MIT License](LICENSE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters