diff --git a/apps/app/Info.plist b/apps/app/Info.plist index a3069984e..001e599d7 100644 --- a/apps/app/Info.plist +++ b/apps/app/Info.plist @@ -18,5 +18,32 @@ A Minecraft mod wants to access your camera. NSMicrophoneUsageDescription A Minecraft mod wants to access your microphone. + NSAppTransportSecurity + + NSExceptionDomains + + textures.minecraft.net + + NSExceptionAllowsInsecureHTTPLoads + + NSIncludesSubdomains + + + localhost + + NSExceptionAllowsInsecureHTTPLoads + + NSIncludesSubdomains + + + ipc.localhost + + NSExceptionAllowsInsecureHTTPLoads + + NSIncludesSubdomains + + + + diff --git a/apps/app/tauri.conf.json b/apps/app/tauri.conf.json index 52543f63b..3f4c2561b 100644 --- a/apps/app/tauri.conf.json +++ b/apps/app/tauri.conf.json @@ -86,7 +86,7 @@ "capabilities": ["core", "plugins"], "csp": { "default-src": "'self' customprotocol: asset:", - "connect-src": "https://git.astralium.su ipc: http://ipc.localhost https://modrinth.com https://*.modrinth.com https://*.posthog.com https://*.sentry.io https://api.mclo.gs 'self' data: blob:", + "connect-src": "ipc: https://git.astralium.su http://ipc.localhost https://modrinth.com https://*.modrinth.com https://*.posthog.com https://*.sentry.io https://api.mclo.gs 'self' data: blob:", "font-src": ["https://cdn-raw.modrinth.com/fonts/"], "img-src": "https: 'unsafe-inline' 'self' asset: http://asset.localhost http://textures.minecraft.net blob: data:", "style-src": "'unsafe-inline' 'self'",