mirror of
https://github.com/abhinavxd/libredesk.git
synced 2026-09-11 21:39:00 +00:00
ea03339b0d
Drop the deprecated webhook.allowed_hosts fallback from the SSRF setup. It appended hostnames to allowed_cidrs, which only parses CIDRs, so those entries were silently dropped anyway. Read the [ssrf] block only. Link AI assistant messages to the specific assistant. postReply now stamps the assistant id into the message meta, and the message bubble links to that assistant's edit page, falling back to the assistants list for older messages that lack the id.
Libredesk frontend
This template should help get you started developing with Vue 3 in Vite.
Recommended IDE Setup
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
Customize configuration
See Vite Configuration Reference.
Project Setup
npm install
Compile and Hot-Reload for Development
npm run dev
Compile and Minify for Production
npm run build
Run Headed Component Tests with Cypress Component Testing
npm run test:unit:dev # or `npm run test:unit` for headless testing
Run End-to-End Tests with Cypress
npm run test:e2e:dev
This runs the end-to-end tests against the Vite development server. It is much faster than the production build.
But it's still recommended to test the production build with test:e2e before deploying (e.g. in CI environments):
npm run build
npm run test:e2e
Lint with ESLint
npm run lint