mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
feat: allow to config cors async
Bump version of the fastify-cors. Add CorsOptionsDelegate interface. Add CorsOptionsDelegate as an acceptable type for every enableCors usage. Closes nestjs/nest#6118
This commit is contained in:
@@ -49,7 +49,7 @@ async function executeNpmScriptInSamples(
|
||||
task('install:samples', async () =>
|
||||
executeNpmScriptInSamples(
|
||||
// 'npm ci --no-audit --no-shrinkwrap --no-optional',
|
||||
'npm install'
|
||||
'npm install',
|
||||
),
|
||||
);
|
||||
task('build:samples', async () => executeNpmScriptInSamples('npm run build'));
|
||||
|
||||
Reference in New Issue
Block a user