Fix slug conflict and seed import for Docker deployment
All checks were successful
Build and Push Docker Image / build (push) Successful in 7m30s

- Rename [id] → [competitionId] under /admin/competitions/ to fix
  Next.js "different slug names for same dynamic path" error
- Update params.id → params.competitionId in competition detail page
- Fix seed import: use .js extension for tsx ESM module resolution

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-15 23:30:01 +01:00
parent 1233cdd22c
commit 0b4e56b287
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ import {
AdvancementRuleType,
} from '@prisma/client'
import bcrypt from 'bcryptjs'
import { defaultRoundConfig } from '../src/types/competition-configs'
import { defaultRoundConfig } from '../src/types/competition-configs.js'
import { readFileSync } from 'fs'
import { parse } from 'csv-parse/sync'
import { join, dirname } from 'path'