feat(server): self-hosted worker (#10085)

This commit is contained in:
DarkSky
2025-02-12 08:01:57 +08:00
committed by GitHub
parent 19f0eb1931
commit 88a3a2d13b
23 changed files with 817 additions and 20 deletions

View File

@@ -361,12 +361,6 @@ export function createWebpackConfig(
},
],
proxy: [
{
context: '/api/worker/',
target: 'https://affine.fail',
changeOrigin: true,
secure: false,
},
{ context: '/api', target: 'http://localhost:3010' },
{ context: '/socket.io', target: 'http://localhost:3010', ws: true },
{ context: '/graphql', target: 'http://localhost:3010' },