feat(nftables): Add NFTables integration for kernel-level forwarding and update documentation, tests, and helper functions
This commit is contained in:
@ -82,9 +82,7 @@ tap.test('Routes: Should create HTTPS route with TLS termination', async () => {
|
||||
|
||||
tap.test('Routes: Should create HTTP to HTTPS redirect', async () => {
|
||||
// Create an HTTP to HTTPS redirect
|
||||
const redirectRoute = createHttpToHttpsRedirect('example.com', 443, {
|
||||
status: 301
|
||||
});
|
||||
const redirectRoute = createHttpToHttpsRedirect('example.com', 443);
|
||||
|
||||
// Validate the route configuration
|
||||
expect(redirectRoute.match.ports).toEqual(80);
|
||||
|
Reference in New Issue
Block a user