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
A complete working example can be found [here](https://github.com/NullNet-ai/appguard-javascript-clients/blob/main/clients/express/sample/src/index.ts).
39
+
40
+
### Environment variables
41
+
42
+
The following environment variables must be set for the client to work:
43
+
-`CONTROL_SERVICE_ADDR`: AppGuard server's IP address
44
+
-`CONTROL_SERVICE_PORT`: AppGuard server's port
45
+
-`INSTALLATION_CODE`: installation code for this client
// allow Node.js runtime for middleware: https://nextjs.org/blog/next-15-2#nodejs-middleware-experimental
34
+
// this also requires next@canary: https://nextjs.org/docs/messages/ppr-preview
35
+
runtime: 'nodejs',
36
+
};
37
+
```
38
+
39
+
A complete working example can be found [here](https://github.com/NullNet-ai/appguard-javascript-clients/blob/main/clients/nextjs/sample/src/middleware.ts).
40
+
41
+
### Environment variables
42
+
43
+
The following environment variables must be set for the client to work:
44
+
-`CONTROL_SERVICE_ADDR`: AppGuard server's IP address
45
+
-`CONTROL_SERVICE_PORT`: AppGuard server's port
46
+
-`INSTALLATION_CODE`: installation code for this client
0 commit comments