Add exception for backtrace requests

This commit is contained in:
Clement 2018-07-06 15:51:40 -07:00
parent 8c283806b3
commit d9d72774d8
2 changed files with 22 additions and 0 deletions

View file

@ -45,5 +45,25 @@
</array>
<key>NSHighResolutionCapable</key>
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
<dict>
<key>${MACOSX_BUNDLE_BACKTRACE_DOMAIN_NAME}</key>
<dict>
<key>NSExceptionRequiresForwardSecrecy</key>
<false/>
<!--Include to allow subdomains-->
<key>NSIncludesSubdomains</key>
<true/>
<!--Include to allow HTTP requests-->
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
<true/>
<!--Include to specify minimum TLS version-->
<key>NSTemporaryExceptionMinimumTLSVersion</key>
<string>TLSv1.2</string>
</dict>
</dict>
</dict>
</dict>
</plist>

View file

@ -127,6 +127,8 @@ if (APPLE)
endif ()
endif ()
set(MACOSX_BUNDLE_BACKTRACE_DOMAIN_NAME highfidelity.sp.backtrace.io)
# set how the icon shows up in the Info.plist file
set(MACOSX_BUNDLE_ICON_FILE "${INTERFACE_ICON_FILENAME}")