File tree Expand file tree Collapse file tree 4 files changed +10
-6
lines changed Expand file tree Collapse file tree 4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -80,9 +80,9 @@ export class BoardMiddleware
80
80
const queueList = framework . getQueueList ( ) ;
81
81
const wrapQueues = queueList . map ( queue => {
82
82
if ( this . applicationContext . hasNamespace ( 'bull' ) ) {
83
- return new BullAdapter ( queue ) ;
83
+ return new BullAdapter ( queue ) as any ;
84
84
} else if ( this . applicationContext . hasNamespace ( 'bullmq' ) ) {
85
- return new BullMQAdapter ( queue ) ;
85
+ return new BullMQAdapter ( queue ) as any ;
86
86
}
87
87
} ) ;
88
88
this . basePath = this . bullBoardConfig . basePath ;
Original file line number Diff line number Diff line change 28
28
"@midwayjs/mock" : " ^3.20.4"
29
29
},
30
30
"dependencies" : {
31
- "bullmq" : " 5.39 .1"
31
+ "bullmq" : " 5.51 .1"
32
32
},
33
33
"engines" : {
34
34
"node" : " >=12"
Original file line number Diff line number Diff line change @@ -45,8 +45,10 @@ export const cookies = {
45
45
/**
46
46
* default cookie get options
47
47
*/
48
- export const cookiesGet = {
49
- // sign: false,
48
+ export const cookiesExtra = {
49
+ defaultGetOptions : {
50
+ // sign: false,
51
+ } ,
50
52
} ;
51
53
52
54
export const onerror = { } ;
Original file line number Diff line number Diff line change @@ -72,7 +72,9 @@ export class MidwayKoaFramework extends BaseFramework<
72
72
}
73
73
74
74
const cookieOptions = this . configService . getConfiguration ( 'cookies' ) ;
75
- const cookieGetOptions = this . configService . getConfiguration ( 'cookiesGet' ) ;
75
+ const cookieGetOptions = this . configService . getConfiguration (
76
+ 'cookiesExtra.defaultGetOptions'
77
+ ) ;
76
78
77
79
this . app = new koa < DefaultState , IMidwayKoaContext > ( {
78
80
keys : [ ] . concat ( appKeys ) ,
You can’t perform that action at this time.
0 commit comments