diff --git a/Views/index.ejs b/Views/index.ejs index 5a5d677..ce36ad0 100644 --- a/Views/index.ejs +++ b/Views/index.ejs @@ -19,7 +19,7 @@ - + <% if (options.bigImg == "true") { %> @@ -32,7 +32,7 @@
  • title - Sets the embed title!
  • desc - Sets the embed desc!
  • image - Sets the embed img!
  • -
  • hex - Sets the embed color (HEX)!
  • +
  • col - Sets the embed color (HEX)!
  • bigImg - true | false!

  • @@ -41,7 +41,7 @@
  • http://current-website-url.com/?title=Testing
  • http://current-website-url.com/?desc=Testing
  • http://current-website-url.com/?img=imageURL
  • -
  • http://current-website-url.com/?col=hexColor
  • +
  • http://current-website-url.com/?col=FFFFFF
  • http://current-website-url.com/?bigImg=true
  • diff --git a/server.js b/server.js index 379d96b..c55badf 100644 --- a/server.js +++ b/server.js @@ -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 = {