diff --git a/packages/desktop-client/package.json b/packages/desktop-client/package.json
index 06df8ab36cf..56866d06c3e 100644
--- a/packages/desktop-client/package.json
+++ b/packages/desktop-client/package.json
@@ -28,6 +28,7 @@
"@types/uuid": "^9.0.2",
"@types/webpack-bundle-analyzer": "^4.6.0",
"@use-gesture/react": "^10.3.0",
+ "@vitejs/plugin-basic-ssl": "^1.0.2",
"@vitejs/plugin-react-swc": "^3.5.0",
"chokidar": "^3.5.3",
"cross-env": "^7.0.3",
diff --git a/packages/desktop-client/src/components/transactions/TransactionsTable.jsx b/packages/desktop-client/src/components/transactions/TransactionsTable.jsx
index 93b7b0a25b0..77db1627272 100644
--- a/packages/desktop-client/src/components/transactions/TransactionsTable.jsx
+++ b/packages/desktop-client/src/components/transactions/TransactionsTable.jsx
@@ -366,7 +366,7 @@ const TransactionHeader = memo(
/>
{showBalance && | }
{showCleared && }
- |
+ |
);
},
diff --git a/packages/desktop-client/vite.config.mts b/packages/desktop-client/vite.config.mts
index 0237d57bd74..9fcbc6a7a3f 100644
--- a/packages/desktop-client/vite.config.mts
+++ b/packages/desktop-client/vite.config.mts
@@ -1,6 +1,7 @@
import * as path from 'path';
import inject from '@rollup/plugin-inject';
+import basicSsl from '@vitejs/plugin-basic-ssl';
import react from '@vitejs/plugin-react-swc';
import { visualizer } from 'rollup-plugin-visualizer';
///
@@ -165,6 +166,7 @@ export default defineConfig(async ({ mode }) => {
}),
viteTsconfigPaths({ root: '../..' }),
visualizer({ template: 'raw-data' }),
+ !!env.HTTPS && basicSsl(),
],
test: {
include: ['src/**/*.{test,spec}.?(c|m)[jt]s?(x)'],
diff --git a/yarn.lock b/yarn.lock
index 98627a5ce64..85af891e346 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -79,6 +79,7 @@ __metadata:
"@types/uuid": "npm:^9.0.2"
"@types/webpack-bundle-analyzer": "npm:^4.6.0"
"@use-gesture/react": "npm:^10.3.0"
+ "@vitejs/plugin-basic-ssl": "npm:^1.0.2"
"@vitejs/plugin-react-swc": "npm:^3.5.0"
chokidar: "npm:^3.5.3"
cross-env: "npm:^7.0.3"
@@ -4539,6 +4540,15 @@ __metadata:
languageName: node
linkType: hard
+"@vitejs/plugin-basic-ssl@npm:^1.0.2":
+ version: 1.0.2
+ resolution: "@vitejs/plugin-basic-ssl@npm:1.0.2"
+ peerDependencies:
+ vite: ^3.0.0 || ^4.0.0 || ^5.0.0
+ checksum: ee9be91254d848278dba3dbf5c73726bb181dcfba6972dfb657db0e1b0f3d25567aac3ed179924d5ae503848e74824f3284547d792e0f6d7ca02dbec32fb6510
+ languageName: node
+ linkType: hard
+
"@vitejs/plugin-react-swc@npm:^3.5.0":
version: 3.5.0
resolution: "@vitejs/plugin-react-swc@npm:3.5.0"