Toggle navigation
Toggle navigation
This project
Loading...
Sign in
정민우
/
vps_service
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
정민우
2021-06-10 04:09:29 +0900
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
8d691c49a586ac9287d823b5030c366a823603d6
8d691c49
2 parents
f21aeb2c
9d57f7ed
Merge branch 'backend-docker' into 'master'
[Edit] cors 허용 See merge request
!5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
backend/config/cors.js
backend/config/cors.js
View file @
8d691c4
1
+
const
path
=
require
(
'path'
)
2
+
require
(
'dotenv'
).
config
({
path
:
path
.
join
(
__dirname
,
"../.env"
)})
3
+
1
module
.
exports
=
{
4
module
.
exports
=
{
2
origin
:
[
5
origin
:
[
3
'http://localhost:8560'
,
6
'http://localhost:8560'
,
...
...
Please
register
or
login
to post a comment