Skip to content

Commit

Permalink
Changed Hex Color Stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
YugeDickMan committed Feb 6, 2021
1 parent eeaf2b1 commit 2b30603
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Views/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<meta property="og:title" content="<%= options.embedTitle %>" />
<meta property="og:description" content="<%= options.embedDesc %>" />
<meta property="og:image" content="<%= options.embedImage %>" />
<meta name="theme-color" content="<%= options.embedCol %>" />
<meta name="theme-color" content="#<%= options.embedCol %>" />
<meta property="og:type" content="website" />
<% if (options.bigImg == "true") { %>
<meta name="twitter:card" content="summary_large_image" />
Expand All @@ -32,7 +32,7 @@
<li>title - Sets the embed title!</li>
<li>desc - Sets the embed desc!</li>
<li>image - Sets the embed img!</li>
<li>hex - Sets the embed color (HEX)!</li>
<li>col - Sets the embed color (HEX)!</li>
<li>bigImg - true | false!</li>
</ul>
<br />
Expand All @@ -41,7 +41,7 @@
<li>http://current-website-url.com/?title=Testing</li>
<li>http://current-website-url.com/?desc=Testing</li>
<li>http://current-website-url.com/?img=imageURL</li>
<li>http://current-website-url.com/?col=hexColor</li>
<li>http://current-website-url.com/?col=FFFFFF</li>
<li>http://current-website-url.com/?bigImg=true</li>
</ul>
</body>
Expand Down
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ server.get("/", (req, res) => {
/* Embed Description */
const embedDesc = req.query.desc ? req.query.desc : "";
/* Embed Color */
const embedCol = req.query.hex ? req.query.hex : "";
const embedCol = req.query.col ? req.query.col : "";

/* Rendering */
const options = {
Expand Down

0 comments on commit 2b30603

Please sign in to comment.