mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-15 19:30:38 +08:00
Point update checker to the correct URL where we store files
This commit is contained in:
@@ -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'"
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user