Merge branch 'worktree-agent-a5b4b5e78920450b6' into claude/relaxed-maxwell-c10wof

# Conflicts:
#	src/i18n/locales/ar.ts
#	src/i18n/locales/de.ts
#	src/i18n/locales/en.ts
#	src/i18n/locales/es.ts
#	src/i18n/locales/fr.ts
#	src/i18n/locales/hi.ts
#	src/i18n/locales/id.ts
#	src/i18n/locales/it.ts
#	src/i18n/locales/ja.ts
#	src/i18n/locales/ko.ts
#	src/i18n/locales/nl.ts
#	src/i18n/locales/pl.ts
#	src/i18n/locales/pt.ts
#	src/i18n/locales/ru.ts
#	src/i18n/locales/th.ts
#	src/i18n/locales/tr.ts
#	src/i18n/locales/vi.ts
#	src/i18n/locales/zh.ts
This commit is contained in:
Claude committed 2026-10-09 15:19:10 +00:00
commit 21e4354742
26 files changed
+2468 -3

No files matched your search

+3 -1
View File
@@ -7,7 +7,7 @@ import { corsHeaders, getUserId, json, rateLimited } from '../_shared/auth.ts'
const TMDB_KEY = Deno.env.get('TMDB_API_KEY') ?? ''
// Mêmes adresses que dans l'app — tout le reste est refusé
const PATHS = /^\/(search\/multi|configuration|discover\/(movie|tv)|(movie|tv)\/\d{1,10}(\/recommendations|\/season\/\d{1,3})?)$/
const PATHS = /^\/(search\/multi|configuration|discover\/(movie|tv)|(movie|tv)\/\d{1,10}(\/recommendations|\/season\/\d{1,3})?|find\/(tt)?\d{1,10})$/
// Paramètres autorisés et forme de leur valeur
const PARAMS: Record<string, RegExp> = {
@@ -26,6 +26,8 @@ const PARAMS: Record<string, RegExp> = {
sort_by: /^popularity\.desc$/,
with_origin_country: /^[A-Z]{2}(\|[A-Z]{2}){0,20}$/,
without_genres: /^\d{1,6}(\|\d{1,6}){0,10}$/,
// Import TV Time / IMDb : /find/{id}
external_source: /^(tvdb_id|imdb_id)$/,
}
Deno.serve(async (req) => {