Compare commits

...
2 Commits
Author SHA1 Message Date
tommaso e7b03da729 Extension: aggiungi locales/en.default.json (fix ENOENT locales su shopify app deploy) 2026-07-07 18:34:31 +02:00
tommasoandClaude Opus 4.8 e0190c6a45 Fix app proxy 400 in prod: Docker base node:18-alpine -> node:22-alpine
Node 18-alpine non espone 'crypto' come global dichiarato: la libreria
@shopify/shopify-api getCryptoLib() fa 'crypto?.webcrypto' -> ReferenceError
'crypto is not defined' -> validateAppProxyHmac fallisce -> 400 su ogni richiesta
app proxy. Node 22 (come in dev) espone crypto global -> HMAC ok -> 200.

Diagnosi: log Fly mostravano 'crypto is not defined' prima di ogni 400; verificato
con firma app-proxy calcolata a mano (ora 200 + form recesso).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mv83a29B4eFv5ixoj6PoE1
2026-07-07 18:23:41 +02:00
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
FROM node:18-alpine
FROM node:22-alpine
RUN apk add --no-cache openssl
EXPOSE 3000
@@ -0,0 +1 @@
{}