Skip to content

Commit

Permalink
Merge pull request #211 from little3201/develop
Browse files Browse the repository at this point in the history
环境模拟配置修改
  • Loading branch information
little3201 authored Oct 29, 2024
2 parents c96e7c4 + c8d0d04 commit 569fae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/boot/msw-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { handlers } from 'src/mocks/handlers' // 您的请求处理程序

export default boot(() => {
// dev
if (process.env.DEV) {
if (!process.env.DEV) {
const worker = setupWorker(...handlers)
worker.start()
}
Expand Down

0 comments on commit 569fae1

Please sign in to comment.