File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
app/src/components/browser Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -574,7 +574,7 @@ export class DevtoolsBrowser extends Element {
574574 class =${ this . #viewMode === 'video' ? 'active' : '' }
575575 @click =${ ( ) => this . #setViewMode( 'video' ) }
576576 >
577- Video
577+ Screencast
578578 </ button >
579579 ${ this . #videos. length > 1
580580 ? html `< select
Original file line number Diff line number Diff line change @@ -179,12 +179,10 @@ export async function start(
179179 server . get (
180180 '/api/video/:sessionId' ,
181181 {
182- config : {
183- rateLimit : {
184- max : 30 ,
185- timeWindow : '1 minute'
186- }
187- }
182+ preHandler : server . rateLimit ( {
183+ max : 30 ,
184+ timeWindow : '1 minute'
185+ } )
188186 } ,
189187 async (
190188 request : FastifyRequest < { Params : { sessionId : string } } > ,
You can’t perform that action at this time.
0 commit comments