Skip to content

Commit 55353ce

Browse files
committed
Update README
1 parent 588072e commit 55353ce

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.DS_Store

-6 KB
Binary file not shown.

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules/
22
.vscode/
3-
build/
3+
build/
4+
.DS_Store

README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ If you use this library and find it useful please consider [sponsoring me](https
3232

3333
Allows you to extract information from an HTTP URL/link (or parse an HTML string) and retrieve meta information such as title, description, images, videos, etc. via **OpenGraph** tags.
3434

35+
## Discord
36+
37+
Join the Discord
38+
39+
https://discord.gg/W9XmqCQCKP
40+
3541
## GOTCHAs
3642

3743
- You cannot request a different domain from your web app (Browsers block cross-origin-requests). If you don't know how _same-origin-policy_ works, [here is a good intro](https://dev.to/lydiahallie/cs-visualized-cors-5b8h), therefore **this library works on Node.js and certain mobile run-times (Cordova or React-Native)**.
@@ -98,8 +104,8 @@ getLinkPreview("https://www.youtube.com/watch?v=MejbOFk7H6c", {
98104
"Accept-Language": "fr-CA", // fetches site for French language
99105
// ...other optional HTTP request headers
100106
},
101-
timeout: 1000
102-
}).then(data => console.debug(data));
107+
timeout: 1000,
108+
}).then((data) => console.debug(data));
103109
```
104110

105111
## SSRF Concerns

0 commit comments

Comments
 (0)