fix(tauri): 맥 번들에 http 허용(ATS) — 서버가 http 라 앱이 요청을 못 보내던 것
macOS 는 앱 안 비암호화 요청을 기본 차단. src-tauri/Info.plist 로 NSAllowsArbitraryLoads 를 번들에 합침. Windows 는 무관. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<!-- 맥 전용. macOS 는 앱 안 http(비암호화) 요청을 기본 차단(ATS)하는데, 우리 서버·고객사 서버가
|
||||
http 라 앱이 로그인조차 못 함. Tauri 가 이 파일을 번들 Info.plist 에 합쳐 넣음. Windows 는 무관. -->
|
||||
<key>NSAppTransportSecurity</key>
|
||||
<dict>
|
||||
<key>NSAllowsArbitraryLoads</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
||||
Reference in New Issue
Block a user