tiktok-clone-api
tiktok-clone-api copied to clipboard
This is a Tiktok Clone (API) made with Nuxt 3, Vue JS, Laravel (API), Tailwind CSS, and Pinia
localhost/:5 Cross-Origin Read Blocking (CORB) blocked cross-origin response http://127.0.0.1:8000/ with MIME type application/json. See https://www.chromestatus.com/feature/5629709824032768 for more details.
127.0.0.1/:1 Access to XMLHttpRequest at 'http://localhost:8000/api/home' from origin 'http://127.0.0.1:3000' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'http://localhost:3000' that is not equal to the supplied origin.
There is no content in the home page and the network tab is showing 404, when the front end try to call http://localhost:8000/api/home
[nuxt] error caught during app initialization H3Error: Page not found: /api/get-random-users 12:45:54 at Module.createError (file:///C:/Users/FAby/Desktop/RateTHE/RateThePlay/node_modules/h3/dist/index.mjs:128:15) at C:\Users\FAby\Desktop\RateTHE\RateThePlay\node_modules\nuxt\dist\pages\runtime\plugins\router.mjs:141:113 at triggerAfterEach (file:///C:/Users/FAby/Desktop/RateTHE/RateThePlay/node_modules/vue-router/dist/vue-router.mjs:3306:13) at file:///C:/Users/FAby/Desktop/RateTHE/RateThePlay/node_modules/vue-router/dist/vue-router.mjs:3209:13 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async C:\Users\FAby\Desktop\RateTHE\RateThePlay\node_modules\nuxt\dist\pages\runtime\plugins\router.mjs:157:7 at async...
ERROR [unhandledRejection] write EPIPE 8:16:33 PM at afterWriteDispatched (node:internal/stream_base_commons:161:15) at writeGeneric (node:internal/stream_base_commons:152:3) at Socket._writeGeneric (node:net:952:11) at Socket._write (node:net:964:8) at writeOrBuffer (node:internal/streams/writable:570:12) at _write (node:internal/streams/writable:499:10) at Writable.write (node:internal/streams/writable:508:10) at Socket.ondata (node:internal/streams/readable:1007:22)...