Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jan Smejkal
Pa165 Secret Archive
Commits
fede68cb
Commit
fede68cb
authored
May 18, 2022
by
Tomáš Biloš
Browse files
add cors annontation
parent
f5466362
Pipeline
#141075
waiting for manual action with stage
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
backend/secret-archive-rest/src/main/java/cz/fi/muni/pa165/seminar4/group7/controller/CountryController.java
View file @
fede68cb
...
...
@@ -16,6 +16,8 @@ import java.util.stream.StreamSupport;
/**
* @author Juraj Fiala
*/
// TODO Find more suitable solution for CORS
@CrossOrigin
(
origins
=
"http://localhost:4200"
)
@RestController
@RequestMapping
(
value
=
"/countries"
)
public
class
CountryController
{
...
...
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