Removed port from host that would break cookie deletion

This commit is contained in:
Marta Borgia Leiva 2026-02-12 11:51:40 +01:00
parent 96f7980fb0
commit 6ee5e225ef

View file

@ -82,8 +82,9 @@ class MainActivity : AppCompatActivity() {
if (logoutResponse.isSuccessful) { if (logoutResponse.isSuccessful) {
// Clear cookies for the API host // Clear cookies for the API host
RetrofitInstance.clearCookiesForHost( RetrofitInstance.clearCookiesForHost(
"10.0.2.2:8000" "10.0.2.2"
) )
// Navigate back to the login screen // Navigate back to the login screen
val intent = val intent =
Intent(this@MainActivity, LoginActivity::class.java) Intent(this@MainActivity, LoginActivity::class.java)