npm install
.env
file using the template from .env.example
📄PUBLIC_CDN_URL=https://cdn.scoresaber.com
PUBLIC_API_URL=https://scoresaber.com
📝 Note: CORS is currently enabled for both the CDN and the API. This configuration will be improved in future updates.
Run the following command to start the development server with HTTPS:
npm run dev -- --https
To build the app for production:
npm run build
You can preview the built app using:
npm run preview
⚠️ Important: The preview command should not be used to serve ScoreSaber in production environments.