I'm setting up the dev environment (https://github.com/pterodactyl/development)
After running pnpm dev and visiting pterodactyl.test, CORS errors appear in the console:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://127.0.0.1:5173/@vite/client. (Reason: CORS request did not succeed). Status code: (null).
Module source URI is not allowed in this document: “http://127.0.0.1:5173/@vite/client”. pterodactyl.test:36:80
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://127.0.0.1:5173/resources/scripts/index.tsx. (Reason: CORS request did not succeed). Status code: (null).
Module source URI is not allowed in this document: “http://127.0.0.1:5173/resources/scripts/index.tsx”. pterodactyl.test:36:167
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://127.0.0.1:5173/@react-refresh. (Reason: CORS request did not succeed). Status code: (null).
Module source URI is not allowed in this document: “http://127.0.0.1:5173/@react-refresh”.
I followed the entire Development Environment setup, and ran through setup-pterodactyl.
Do I need to manually follow the panel Getting Started (https://pterodactyl.io/panel/1.0/getting_started.html) guide (after setup-pterodactyl)? I was under the impression that the dev environment shipped with the database, as it's one of the containers running within the docker env. Any help appreciated