Radish alpha
r
rad:z4D5UCArafTzTQpDZNQRuqswh3ury
Radicle desktop app
Radicle
Git
Point update checker to the correct URL where we store files
Rūdolfs Ošiņš committed 9 months ago
commit ce35d498d4646712c7463d5c4e331979f9a4ba37
parent 64a9e2c
2 files changed +2 -2
modified crates/radicle-tauri/tauri.conf.json
@@ -20,7 +20,7 @@
    "security": {
      "csp": {
        "default-src": "'self'",
-
        "connect-src": "ipc: http://ipc.localhost https://minio-api.radworks.garden tauri://localhost/assets/onig-CwjCXqnP.wasm",
+
        "connect-src": "ipc: http://ipc.localhost https://files.radicle.xyz tauri://localhost/assets/onig-CwjCXqnP.wasm",
        "img-src": "'self' blob: data: https:",
        "script-src": "'wasm-unsafe-eval'",
        "style-src": "'unsafe-inline' 'self'"
modified src/lib/updateChecker.svelte.ts
@@ -10,7 +10,7 @@ interface LatestVersionInfo {

const fetchLatestVersion = async (): Promise<LatestVersionInfo> => {
  const response = await fetch(
-
    "https://minio-api.radworks.garden/radworks-releases/radicle-desktop/latest/latest.json",
+
    "https://files.radicle.xyz/releases/radicle-desktop/latest/latest.json",
  );
  const body: LatestVersionInfo = await response.json();
  return body;