laravel : Access to XMLHttpRequest at 'http://127.0.0.1:8000/videos' from origin 'http://localhost:5173' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Experiences.jsx:20 Error fetching data: AxiosError {message: 'Network Error', name: 'AxiosError', code: 'ERR_NETWORK', config: {…}, request: XMLHttpRequest, …}
fetchData @ Experiences.jsx:20
await in fetchData
(anonyme) @ Experiences.jsx:24
commitHookEffectListMount @ chunk-6BKLQ22S.js?v=8bbb9753:16915
commitPassiveMountOnFiber @ chunk-6BKLQ22S.js?v=8bbb9753:18156
commitPassiveMountEffects_complete @ chunk-6BKLQ22S.js?v=8bbb9753:18129
commitPassiveMountEffects_begin @ chunk-6BKLQ22S.js?v=8bbb9753:18119
commitPassiveMountEffects @ chunk-6BKLQ22S.js?v=8bbb9753:18109
flushPassiveEffectsImpl @ chunk-6BKLQ22S.js?v=8bbb9753:19490
flushPassiveEffects @ chunk-6BKLQ22S.js?v=8bbb9753:19447
(anonyme) @ chunk-6BKLQ22S.js?v=8bbb9753:19328
workLoop @ chunk-6BKLQ22S.js?v=8bbb9753:197
flushWork @ chunk-6BKLQ22S.js?v=8bbb9753:176
performWorkUntilDeadline @ chunk-6BKLQ22S.js?v=8bbb9753:384
Afficher 11 autres frames
Afficher moins
Experiences.jsx:13 
        
        
       GET http://127.0.0.1:8000/videos net::ERR_FAILED 200 (OK)
dispatchXhrRequest @ axios.js?t=1729549753671&v=2dc2a8f4:1680
xhr @ axios.js?t=1729549753671&v=2dc2a8f4:1560
dispatchRequest @ axios.js?t=1729549753671&v=2dc2a8f4:2035
_request @ axios.js?t=1729549753671&v=2dc2a8f4:2240
request @ axios.js?t=1729549753671&v=2dc2a8f4:2141
Axios.<computed> @ axios.js?t=1729549753671&v=2dc2a8f4:2259
wrap @ axios.js?t=1729549753671&v=2dc2a8f4:8
fetchData @ Experiences.jsx:13
(anonyme) @ Experiences.jsx:24
commitHookEffectListMount @ chunk-6BKLQ22S.js?v=8bbb9753:16915
commitPassiveMountOnFiber @ chunk-6BKLQ22S.js?v=8bbb9753:18156
commitPassiveMountEffects_complete @ chunk-6BKLQ22S.js?v=8bbb9753:18129
commitPassiveMountEffects_begin @ chunk-6BKLQ22S.js?v=8bbb9753:18119
commitPassiveMountEffects @ chunk-6BKLQ22S.js?v=8bbb9753:18109
flushPassiveEffectsImpl @ chunk-6BKLQ22S.js?v=8bbb9753:19490
flushPassiveEffects @ chunk-6BKLQ22S.js?v=8bbb9753:19447
(anonyme) @ chunk-6BKLQ22S.js?v=8bbb9753:19328
workLoop @ chunk-6BKLQ22S.js?v=8bbb9753:197
flushWork @ chunk-6BKLQ22S.js?v=8bbb9753:176
performWorkUntilDeadline @ chunk-6BKLQ22S.js?v=8bbb9753:384
Afficher 18 autres frames
Afficher moins
localhost/:1 Access to XMLHttpRequest at 'http://127.0.0.1:8000/videos' from origin 'http://localhost:5173' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Experiences.jsx:20 Error fetching data: AxiosError {message: 'Network Error', name: 'AxiosError', code: 'ERR_NETWORK', config: {…}, request: XMLHttpRequest, …}
fetchData @ Experiences.jsx:20
await in fetchData
(anonyme) @ Experiences.jsx:24
commitHookEffectListMount @ chunk-6BKLQ22S.js?v=8bbb9753:16915
invokePassiveEffectMountInDEV @ chunk-6BKLQ22S.js?v=8bbb9753:18324
invokeEffectsInDev @ chunk-6BKLQ22S.js?v=8bbb9753:19701
commitDoubleInvokeEffectsInDEV @ chunk-6BKLQ22S.js?v=8bbb9753:19686
flushPassiveEffectsImpl @ chunk-6BKLQ22S.js?v=8bbb9753:19503
flushPassiveEffects @ chunk-6BKLQ22S.js?v=8bbb9753:19447
(anonyme) @ chunk-6BKLQ22S.js?v=8bbb9753:19328
workLoop @ chunk-6BKLQ22S.js?v=8bbb9753:197
flushWork @ chunk-6BKLQ22S.js?v=8bbb9753:176
performWorkUntilDeadline @ chunk-6BKLQ22S.js?v=8bbb9753:384
Afficher 10 autres frames
Afficher moins
Experiences.jsx:13 
        
        
       GET http://127.0.0.1:8000/videos net::ERR_FAILED 200 (OK)
dispatchXhrRequest @ axios.js?t=1729549753671&v=2dc2a8f4:1680
xhr @ axios.js?t=1729549753671&v=2dc2a8f4:1560
dispatchRequest @ axios.js?t=1729549753671&v=2dc2a8f4:2035
_request @ axios.js?t=1729549753671&v=2dc2a8f4:2240
request @ axios.js?t=1729549753671&v=2dc2a8f4:2141
Axios.<computed> @ axios.js?t=1729549753671&v=2dc2a8f4:2259
wrap @ axios.js?t=1729549753671&v=2dc2a8f4:8
fetchData @ Experiences.jsx:13
(anonyme) @ Experiences.jsx:24
commitHookEffectListMount @ chunk-6BKLQ22S.js?v=8bbb9753:16915
invokePassiveEffectMountInDEV @ chunk-6BKLQ22S.js?v=8bbb9753:18324
invokeEffectsInDev @ chunk-6BKLQ22S.js?v=8bbb9753:19701
commitDoubleInvokeEffectsInDEV @ chunk-6BKLQ22S.js?v=8bbb9753:19686
flushPassiveEffectsImpl @ chunk-6BKLQ22S.js?v=8bbb9753:19503
flushPassiveEffects @ chunk-6BKLQ22S.js?v=8bbb9753:19447
(anonyme) @ chunk-6BKLQ22S.js?v=8bbb9753:19328
workLoop @ chunk-6BKLQ22S.js?v=8bbb9753:197
flushWork @ chunk-6BKLQ22S.js?v=8bbb9753:176
performWorkUntilDeadline @ chunk-6BKLQ22S.js?v=8bbb9753:384
Afficher 17 autres frames
Afficher moins