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:08:50 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9d57f7eda612ab36de6da67ce1bc50dac82ebebb
9d57f7ed
1 parent
179c70ba
[Edit] cors 허용
Show 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 @
9d57f7e
const
path
=
require
(
'path'
)
require
(
'dotenv'
).
config
({
path
:
path
.
join
(
__dirname
,
"../.env"
)})
module
.
exports
=
{
origin
:
[
'http://localhost:8560'
,
...
...
Please
register
or
login
to post a comment