راکت
1 پاسخ

لود نشدن اسکریپت خارجی در سایت لاراولی

سلام من یه کد جاوا اسکریپت دارم که یه درخواست بصورت get به یه سایت لاراولی میفرسته ولی اطلاعات لود نمیشه و inspect element که تو گوگل کروم گرفتم این اخطار و میده :

A cookie associated with a cross-site resource at http://my-laravel-website.net/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/۵۰۸۸۱۴۷۳۴۶۰۳۰۵۹۲ and https://www.chromestatus.com/feature/۵۶۳۳۵۲۱۶۲۲۱۸۸۰۳۲.

کد جاوا اسکریپت من اینه که مثلا تو سایت example.ir لود میشه :

<script src="http://my-laravel-website.net/marketing/js?mid=۱۰۰&countitems=۱۰" type="text/javascript"></script>

ممنون میشم راهنماییم کنید