@adaptic/backend-legacy 0.0.65 → 0.0.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server.cjs +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptic/backend-legacy",
3
- "version": "0.0.65",
3
+ "version": "0.0.67",
4
4
  "description": "Backend executable CRUD functions with dynamic variables construction, and type definitions for the Adaptic AI platform.",
5
5
  "type": "module",
6
6
  "types": "index.d.ts",
package/server.cjs CHANGED
@@ -136,7 +136,7 @@ const startServer = async () => {
136
136
  // Health check endpoint - mounted before Apollo middleware so it's not behind GraphQL or auth
137
137
  app.use((0, health_1.createHealthRouter)());
138
138
  // Configure CORS with allowed origins
139
- const defaultOrigins = ['http://localhost:3000', 'http://localhost:3001', 'http://localhost:4000', 'https://adaptic.ai', 'https://api.adaptic.ai'];
139
+ const defaultOrigins = ['http://localhost:3000', 'http://localhost:3001', 'http://localhost:4000', 'https://adaptic.ai', 'https://api.adaptic.ai', 'https://os.adaptic.ai'];
140
140
  const envOrigins = process.env.ALLOWED_ORIGINS ? process.env.ALLOWED_ORIGINS.split(',').map(o => o.trim()) : [];
141
141
  const allowedOrigins = [...new Set([...defaultOrigins, ...envOrigins])];
142
142
  const corsOptions = {