Skip to content

Commit

Permalink
✨ allow http domain for fetching pictures from the api
Browse files Browse the repository at this point in the history
  • Loading branch information
kmkim2689 authored and ii2001 committed Aug 7, 2024
1 parent 3ee1797 commit aa59127
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

<application
android:name=".presentation.DefaultPengcookApplication"
android:networkSecurityConfig="@xml/network_security_config"
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
Expand Down
6 changes: 6 additions & 0 deletions android/app/src/main/res/xml/network_security_config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config cleartextTrafficPermitted="false">
<domain includeSubdomains="true">www.foodsafetykorea.go.kr</domain>
</domain-config>
</network-security-config>

0 comments on commit aa59127

Please sign in to comment.