server.baseUrl
- Type:
string | string[] - Default:
undefined
Uniformly set the prefix of server-side routes (commonly used in situations where multiple applications share the same domain name to distinguish traffic).
modern.config.ts
After running dev, you will see that the route access will have the corresponding prefix added: