Skip to content

Commit

Permalink
Merge pull request #233 from rajnandan1/release/3.0.8
Browse files Browse the repository at this point in the history
fix: discord trigger fix #232
  • Loading branch information
rajnandan1 authored Jan 31, 2025
2 parents 1b4ca67 + ad01cdb commit fd0074c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kener",
"version": "3.0.7",
"version": "3.0.8",
"private": false,
"license": "MIT",
"description": "Kener: An open-source Node.js status page application for real-time service monitoring, incident management, and customizable reporting. Simplify service outage tracking, enhance incident communication, and ensure a seamless user experience.",
Expand Down
5 changes: 4 additions & 1 deletion src/lib/server/notification/discord.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ class Discord {

transformData(data) {
let siteURL = this.siteData.siteURL;
let logo = this.siteData.logo;
let logo =
this.siteData.siteURL +
(!!process.env.KENER_BASE_PATH ? process.env.KENER_BASE_PATH : "") +
this.siteData.logo;

let color = 13250616; //down;
if (data.severity === "warning") {
Expand Down
2 changes: 1 addition & 1 deletion src/routes/(docs)/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
<img src="https://kener.ing/logo.png" class="h-8 w-8" alt="" />
<span class="text-xl font-medium">Kener Documentation</span>
<span class="me-2 rounded border px-2.5 py-0.5 text-xs font-medium">
v3.0.7
v3.0.8
</span>
</a>
</div>
Expand Down

0 comments on commit fd0074c

Please sign in to comment.