Add Docker and Gitea Actions CI/CD pipeline
CI / build-and-push (push) Successful in 1m10s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-24 18:27:07 -04:00
parent 938df33789
commit 68540ebcf9
10 changed files with 154 additions and 2 deletions
+3 -1
View File
@@ -10,7 +10,9 @@ const app = new Hono();
app.use('*', logger());
app.use('*', cors({
origin: ['http://localhost:5173', 'http://localhost:5174', 'http://localhost:5175', 'http://localhost:5178'],
origin: process.env.CORS_ORIGIN
? process.env.CORS_ORIGIN.split(',')
: ['http://localhost:5173', 'http://localhost:5174', 'http://localhost:5175', 'http://localhost:5178'],
allowMethods: ['GET', 'POST', 'PUT', 'DELETE'],
allowHeaders: ['Content-Type', 'Authorization'],
}));