Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
examsAndAdmissions
Commits
e21cab6b
Commit
e21cab6b
authored
1 year ago
by
Radheshhathwar
Browse files
Options
Download
Patches
Plain Diff
CORS Changes testing
parent
8663f634
github/fork/ruksana2808/filter_bug_examCycle
bug_fix_question_paper_upload
development
fee_changes
1 merge request
!141
CORS Changes testing
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/com/tarento/upsmf/examsAndAdmissions/ExamsAndAdmissionsApplication.java
+2
-1
...smf/examsAndAdmissions/ExamsAndAdmissionsApplication.java
with
2 additions
and
1 deletion
+2
-1
src/main/java/com/tarento/upsmf/examsAndAdmissions/ExamsAndAdmissionsApplication.java
+
2
−
1
View file @
e21cab6b
...
...
@@ -51,7 +51,8 @@ public class ExamsAndAdmissionsApplication {
public
void
addCorsMappings
(
CorsRegistry
registry
)
{
registry
.
addMapping
(
"/**"
)
.
allowedMethods
(
"GET"
,
"POST"
,
"PUT"
,
"DELETE"
,
"OPTIONS"
)
.
allowedOriginPatterns
(
"http://localhost:*"
)
.
allowedOriginPatterns
(
"*"
)
.
maxAge
(
3600
)
.
allowedHeaders
(
"*"
);
}
...
...
This diff is collapsed.
Click to expand it.
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!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets