Skip to content

Commit

Permalink
chore: update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachScript committed Mar 26, 2024
1 parent 42589f6 commit 2eda4dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/server/src/ssr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ export default function createRequestHandler(

// 新增的给CDN worker用的SSR请求handle
/**
* @deprecated Please use `createRequestHandler({ ..., mode: 'worker' })` instead
* @deprecated Please use `createRequestHandler` instead
*/
export function createUmiHandler(opts: CreateRequestHandlerOptions) {
return async function (
Expand Down Expand Up @@ -444,7 +444,7 @@ export function createUmiHandler(opts: CreateRequestHandlerOptions) {
}

/**
* @deprecated Please use `createRequestHandler({ ..., mode: 'worker' })` instead
* @deprecated Please use `createRequestHandler` instead
*/
export function createUmiServerLoader(opts: CreateRequestHandlerOptions) {
return async function (req: UmiRequest) {
Expand Down

0 comments on commit 2eda4dd

Please sign in to comment.