We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c453e63 commit a25027eCopy full SHA for a25027e
2 files changed
packages/app/src/components/browser/snapshot.ts
@@ -574,7 +574,7 @@ export class DevtoolsBrowser extends Element {
574
class=${this.#viewMode === 'video' ? 'active' : ''}
575
@click=${() => this.#setViewMode('video')}
576
>
577
- Video
+ Screencast
578
</button>
579
${this.#videos.length > 1
580
? html`<select
packages/backend/src/index.ts
@@ -179,12 +179,10 @@ export async function start(
179
server.get(
180
'/api/video/:sessionId',
181
{
182
- config: {
183
- rateLimit: {
184
- max: 30,
185
- timeWindow: '1 minute'
186
- }
187
+ preHandler: server.rateLimit({
+ max: 30,
+ timeWindow: '1 minute'
+ })
188
},
189
async (
190
request: FastifyRequest<{ Params: { sessionId: string } }>,
0 commit comments