From bc94fff775fa36008d49fc8d6fc89faceded6a76 Mon Sep 17 00:00:00 2001
From: markxoe <mark@oude-elberink.de>
Date: Wed, 31 Jan 2024 11:21:54 +0100
Subject: [PATCH 1/4] wip: fix

---
 src/components/Widgets/Jokes.vue | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/components/Widgets/Jokes.vue b/src/components/Widgets/Jokes.vue
index b6d50802..c68aca81 100644
--- a/src/components/Widgets/Jokes.vue
+++ b/src/components/Widgets/Jokes.vue
@@ -74,6 +74,7 @@ export default {
         this.jokeLine2 = data.delivery;
       } else if (this.jokeType === 'single') {
         this.jokeLine1 = data.joke;
+        this.jokeLine2 = null;
       }
     },
   },

From 05aaa1c9b55cab1117bee569fda5c3903c1af782 Mon Sep 17 00:00:00 2001
From: Al Saleh <alayham@alayham.com>
Date: Tue, 6 Feb 2024 15:18:38 +0000
Subject: [PATCH 2/4] Fixed sorting by vmid

---
 src/components/Widgets/Proxmox.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/Widgets/Proxmox.vue b/src/components/Widgets/Proxmox.vue
index 78da0e18..5ae09fcc 100644
--- a/src/components/Widgets/Proxmox.vue
+++ b/src/components/Widgets/Proxmox.vue
@@ -94,7 +94,7 @@ export default {
       }
     },
     processData(data) {
-      this.data = data.data.sort((a, b) => a.vmid > b.vmid);
+      this.data = data.data.sort((a, b) => Number(a.vmid) > Number(b.vmid));
       if (this.hideTemplates) {
         this.data = this.data.filter(item => item.template !== 1);
       }

From 4a570edaee70c248df51c66f014449637b3415aa Mon Sep 17 00:00:00 2001
From: Al Saleh <alayham@alayham.com>
Date: Wed, 7 Feb 2024 11:42:45 +0000
Subject: [PATCH 3/4] Added troubleshooting documentation for Proxmox widgets

---
 docs/widgets.md | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/docs/widgets.md b/docs/widgets.md
index 8192bd0b..2ce20c45 100644
--- a/docs/widgets.md
+++ b/docs/widgets.md
@@ -2128,6 +2128,11 @@ This will show the list of VMs, with a title and a linked fotter, hiding VM temp
       footer_as_link: true
       hide_templates: 1
 ```
+#### Troubleshooting
+- **404 Error in development mode**: The error might disappear in production mode `yarn start`
+- **500 Error in production mode**: Try adding the certificate authority (CA) certificate of your Proxmox host to Node.js. 
+  - Download the Proxmox CA certificate to your Dashy host.
+  - Export environment variable `NODE_EXTRA_CA_CERTS` and set its value to the path of the downloaded CA certificate. Example:  `export NODE_EXTRA_CA_CERTS=/usr/local/share/ca-certificates/devlab_ca.pem`
 #### Info
 
 - **CORS**: 🟠 Proxied

From e8403bada226e00675170b27571c3be190e5c53a Mon Sep 17 00:00:00 2001
From: Hendrik Strydom <56320839+FraglyG@users.noreply.github.com>
Date: Fri, 9 Feb 2024 15:12:33 +0200
Subject: [PATCH 4/4] Added Railway Deployment Method

---
 README.md          |  1 +
 docs/deployment.md | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/README.md b/README.md
index 133e7d16..95643758 100644
--- a/README.md
+++ b/README.md
@@ -154,6 +154,7 @@ Dashy supports **1-Click deployments** on several popular cloud platforms. To sp
 - [<img src="https://i.ibb.co/d2P1WZ7/heroku.png" width="18"/> Deploy to Heroku](https://heroku.com/deploy?template=https://github.com/Lissy93/dashy)
 - [<img src="https://i.ibb.co/Ld2FZzb/vercel.png" width="18"/> Deploy to Vercel](https://vercel.com/new/project?template=https://github.com/lissy93/dashy)
 - [<img src="https://i.ibb.co/xCHtzgh/render.png" width="18"/> Deploy to Render](https://render.com/deploy?repo=https://github.com/lissy93/dashy/tree/deploy_render)
+- [<img src="https://railway.app/brand/logo-light.png" width="18"/> Deploy to Railway](https://railway.app/template/MtdjAQ?referralCode=app)
 - [<img src="https://i.ibb.co/J7MGymY/googlecloud.png" width="18"/> Deploy to GCP](https://deploy.cloud.run/?git_repo=https://github.com/lissy93/dashy.git)
 - [<img src="https://i.ibb.co/HVWVYF7/docker.png" width="18"/> Deploy to PWD](https://labs.play-with-docker.com/?stack=https://raw.githubusercontent.com/Lissy93/dashy/master/docker-compose.yml)
 - [<img src="https://i.ibb.co/7NxnM2P/easypanel.png" width="18"/> Deploy to Easypanel](https://easypanel.io/docs/templates/dashy)
diff --git a/docs/deployment.md b/docs/deployment.md
index 68a0337b..c3ea7fb1 100644
--- a/docs/deployment.md
+++ b/docs/deployment.md
@@ -33,6 +33,7 @@ Once you've got Dashy up and running, you'll want to configure it with your own
     - [Google Cloud Platform](#google-cloud-platform)
     - [Platform.sh](#platformsh)
     - [Render](#render)
+    - [Railway](#railway)
     - [Scalingo](#scalingo)
     - [Play-with-Docker](#play-with-docker)
     - [Surge.sh](#surgesh)
@@ -278,6 +279,16 @@ To deploy Dashy to Render, use the following link
 https://render.com/deploy?repo=https://github.com/lissy93/dashy/tree/deploy_render
 ```
 
+### Railway
+
+[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/MtdjAQ?referralCode=app)
+
+[Railway](https://railway.app/) is a Platform as a Service (PaaS) that offers a complete platform for building and delivering programs to the backend of the cloud. You bring your code and Railway does the rest. Railway offers an extremely good developer experience and makes it effortless to deploy apps. Railway offers a free Trial Plan, and paid plans start at $5/month. Railway has 4 server locations: US-west, US-east, EU-west and ASIA-South-East.
+
+```text
+https://railway.app/template/MtdjAQ
+```
+
 ### Scalingo
 
 [![Deploy on Scalingo](https://i.ibb.co/nj0KxyH/deploy-scalingo-button.png)](https://my.scalingo.com/deploy?source=https://github.com/lissy93/dashy#master)