Skip to content

Commit 4f5a3e5

Browse files
committed
Revert experimental cors-proxy for WebContainers
This reverts commits: - 64c8217 Update allowed hosts - eec2796 Strip proxied path - 256f2c5 Add experimental cors proxy for WebContainers The WebContainer approach for running Claude Code in browser needs more work. Moving to a simpler window.ai API approach instead.
1 parent 64c8217 commit 4f5a3e5

3 files changed

Lines changed: 1 addition & 146 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "openworkers-api",
3-
"version": "1.3.4",
3+
"version": "1.3.5",
44
"license": "MIT",
55
"module": "src/index.ts",
66
"type": "module",

src/index.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import kv from './routes/kv';
1313
import storage from './routes/storage';
1414
import ai from './routes/ai';
1515
import apiKeys from './routes/api-keys';
16-
import corsProxy from './routes/cors-proxy';
1716
import pkg from '../package.json';
1817
import { sql } from './services/db/client';
1918

@@ -73,10 +72,6 @@ v1.route('/api-keys', apiKeys);
7372
v1.route('/', users);
7473

7574
api.route('/v1', v1);
76-
77-
// CORS proxy for Anthropic API (no auth - tokens are in the proxied requests)
78-
api.route('/cors-proxy', corsProxy);
79-
8075
app.route('/api', api);
8176

8277
import { nodeEnv, port } from './config';

src/routes/cors-proxy.ts

Lines changed: 0 additions & 140 deletions
This file was deleted.

0 commit comments

Comments
 (0)