Global Route Prefix

To set default path (route prefix), use setGlobalPrefix() method of INestApplication object. Example:

const app = NestFactory.create(ApplicationModule);
app.setGlobalPrefix('api');

results matching ""

    No results matching ""