Remove /tickets prefix from ticket detail URLs
Build & Push / TypeScript Check (client) (push) Successful in 15s
Build & Push / Build Server (push) Successful in 42s
Build & Push / Build Client (push) Successful in 35s

Routes and links now use /:id (e.g. /V675409888) instead of /tickets/:id.
API calls are unaffected as they go through /api/tickets/.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Josh Wright
2026-03-31 12:30:10 -04:00
parent 8c86ad7bb8
commit 8bea999b93
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ export default function NewTicketModal({ onClose }: NewTicketModalProps) {
const res = await api.post('/tickets', payload)
onClose()
navigate(`/tickets/${res.data.displayId}`)
navigate(`/${res.data.displayId}`)
} catch {
setError('Failed to create ticket')
} finally {