You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, all Dart Frog responses include an `X-Powered-By` header:
8
+
9
+
```
10
+
X-Powered-By: Dart with package:dart_frog
11
+
```
12
+
13
+
:::info
14
+
The `X-Powered-By` header is supported in `dart_frog >=0.1.2`
15
+
:::
16
+
17
+
## Changing the `X-Powered-By` Header
18
+
19
+
The value of this header can be customized by specifying a custom `poweredByHeader` when calling `serve` from a [custom entrypoint](/docs/advanced/custom_entrypoint):
20
+
21
+
```dart
22
+
import 'dart:io';
23
+
24
+
import 'package:dart_frog/dart_frog.dart';
25
+
26
+
Future<HttpServer> run(Handler handler, InternetAddress ip, int port) {
0 commit comments