Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
shahriar
instagram-service
Commits
1cbb0837
Commit
1cbb0837
authored
Jul 27, 2021
by
shahriar
☹
Browse files
fix bug
parent
e7592c49
Changes
2
Hide whitespace changes
Inline
Side-by-side
docker-compose.yml
View file @
1cbb0837
...
...
@@ -4,7 +4,7 @@ services:
prod
:
container_name
:
instagram-lottery
image
:
instagram-lottery-prod:1.
2
.0
image
:
instagram-lottery-prod:1.
5
.0
build
:
context
:
.
target
:
production
...
...
src/main.ts
View file @
1cbb0837
...
...
@@ -3,12 +3,13 @@ import { AppModule } from './app.module';
async
function
bootstrap
()
{
const
app
=
await
NestFactory
.
create
(
AppModule
);
await
app
.
listen
(
3000
);
app
.
enableCors
({
origin
:
'
*
'
,
methods
:
'
GET,HEAD,PUT,PATCH,POST,DELETE,OPTIONS
'
,
credentials
:
true
,
})
await
app
.
listen
(
3000
);
}
bootstrap
();
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment