Django cross-domain problem

django Cross-domain chrome lost cookie

I found this problem in vue before, but now I still have this problem with the simplest page plus ajax

related codes

django.settings

   

as above, firefox is normal and chrome is abnormal. Both of them have successfully obtained json data

Mar.31,2022

set the whitelist and try

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb2305-23b4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb2305-23b4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?