Skip to content

Commit ee31445

Browse files
authored
chore: update cloudflare workers (#1064)
* chore: update workers * fix: workers
1 parent 5fa3c64 commit ee31445

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apps/web/wrangler.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55
{
66
"$schema": "node_modules/wrangler/config-schema.json",
7-
"name": "md-web",
7+
"name": "md",
88
"compatibility_date": "2025-09-06",
99
"main": "worker/index.ts",
1010
"assets": {

packages/md-cli/server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ export function createServer(port = 8800) {
9292
res.redirect('/md/')
9393
})
9494

95-
console.log('代理到: https://doocs-md.pages.dev')
95+
console.log('代理到: https://md.doocs.workers.dev')
9696
app.use(createProxyMiddleware({
97-
target: 'https://doocs-md.pages.dev',
97+
target: 'https://md.doocs.workers.dev',
9898
changeOrigin: true,
9999
onError: (err, req, res) => {
100100
console.error(`代理错误 ${req.path}:`, err.message)

0 commit comments

Comments
 (0)