Skip to content

Commit 1167e54

Browse files
Merge pull request #3252 from Pedroo-Nietoo/master
fix(docs): remove hardcoded ".ts" suffix from main file reference in trust proxy example
2 parents a19edbe + d6aa3f2 commit 1167e54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/security/rate-limiting.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ If your application is running behind a proxy server, it’s essential to config
112112
Here's an example that demonstrates how to enable `trust proxy` for the Express adapter:
113113

114114
```typescript
115-
@@filename(main.ts)
115+
@@filename(main)
116116
import { NestFactory } from '@nestjs/core';
117117
import { AppModule } from './app.module';
118118
import { NestExpressApplication } from '@nestjs/platform-express';

0 commit comments

Comments
 (0)