Closed Maximus697 closed 4 years ago
Le fichier .env
doit refléter l'url de l'application à cette ligne :
https://github.com/hedii/php-crawler/blob/master/.env.example#L5
Ah super merci j'avais changé l'url, j'avais zappé.
Par contre comment on active la recherche car ça bouge pas
Le mar. 21 avr. 2020 à 16:16, hedii notifications@github.com a écrit :
Le fichier .env doit refléter l'url de l'application à cette ligne :
https://github.com/hedii/php-crawler/blob/master/.env.example#L5
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hedii/php-crawler/issues/37#issuecomment-617208426, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCEJIL2IHBNKBDA6FN4OY3RNWTD7ANCNFSM4MNJWERA .
-- Cordialement,
Loreaux Maxime Starter Creative
Tél : +33 (0) 6 87 56 09 48
Bonjour,
J'ai un soucis avec le script, il me met des erreurs :
Access to XMLHttpRequest at 'http://crawler.localhost/api/v1/users/me' from origin 'http://localhost:8000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Access to XMLHttpRequest at 'http://crawler.localhost/api/v1/users//searches?page=1' from origin 'http://localhost:8000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Comment puis je rectifier ça ? merci