# PlatformExpressRouterSettings Interface
Module | import { PlatformExpressRouterSettings } from "@tsed/common" |
---|---|
Source | /packages/common/src/platform-express/interfaces/PlatformExpressSettings.ts |
# Overview
interface PlatformExpressRouterSettings {
/**
* Disabled by default, treating “/Foo” and “/foo” as the same.
*/
caseSensitive?: boolean;
/**
* Preserve the req.params values from the parent router. If the parent and the child have conflicting param names, the child’s value take precedence. | false
*/
mergeParams?: boolean;
/**
* Enable strict routing. | Disabled by default, “/foo” and “/foo/” are treated the same by the router.
*/
strict?: boolean;
}
# Members
caseSensitive?: boolean;
Disabled by default, treating “/Foo” and “/foo” as the same.
mergeParams?: boolean;
Preserve the req.params values from the parent router. If the parent and the child have conflicting param names, the child’s value take precedence. | false
strict?: boolean;
Enable strict routing. | Disabled by default, “/foo” and “/foo/” are treated the same by the router.
- Session & cookies
- Passport.js
- TypeORM
- Mongoose
- GraphQL
- Socket.io
- Swagger
- AJV
- Multer
- Serve static files
- Templating
- Throw HTTP Exceptions
- Customize 404
- AWS
- Jest
- Seq
- Controllers
- Providers
- Model
- Converters
- Middlewares
- Pipes
- Interceptors
- Authentication
- Hooks
- Injection scopes
- Custom providers
- Custom endpoint decorator
- Testing