DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
nestjs allow origin
const
app
=
await
NestFactory
.
create
(
AppModule
)
;
app
.
enableCors
(
)
;
await
app
.
listen
(
3000
)
;
Source by docs.nestjs.com #
PREVIOUS
NEXT
Tagged:
#nestjs
#origin
ADD COMMENT
Topic
COMMENT
Name
7+1 =
Submit