SalonX v2 Admin

Dashboard

Admin for salonx-web-v2: theme (primary color), marquee login art, and stylist home demo slots. Config is stored on disk; uploads are served as static files.

Push to salonx-web-v2

The Vite app keeps theme in localStorage and stylist demo assets in sessionStorage. Copy the snippet while both apps can reach this admin URL for image links.

Open salonx-web-v2, paste into the console, run once. Theme and stylist demo images apply to that tab.

API

  • GET /api/config — full JSON config (CORS enabled)
  • PATCH /api/config — partial updates
  • POST /api/upload — multipart field file