Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lol-statis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jozef Bugoš
lol-statis
Commits
bbe1b8e1
Commit
bbe1b8e1
authored
3 years ago
by
Jozef Bugos
Browse files
Options
Downloads
Patches
Plain Diff
fixing health and regenerating key
parent
3b518187
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/com/example/demo/lol/CheckController.java
+1
-1
1 addition, 1 deletion
src/main/java/com/example/demo/lol/CheckController.java
src/main/resources/application.properties
+1
-1
1 addition, 1 deletion
src/main/resources/application.properties
with
2 additions
and
2 deletions
src/main/java/com/example/demo/lol/CheckController.java
+
1
−
1
View file @
bbe1b8e1
...
...
@@ -16,7 +16,7 @@ public class CheckController {
@GetMapping
(
"/health"
)
public
ResponseEntity
checkHealth
()
{
final
String
uriHealth
=
"https://eun1.api.riotgames.com/lol/platform/v3/champion-rotations?api_key=
RGAPI-852e62c4-eb53-4cd7-81a0-7617261f26a2
"
+
key
;
final
String
uriHealth
=
"https://eun1.api.riotgames.com/lol/platform/v3/champion-rotations?api_key="
+
key
;
RestTemplate
restTemplate
=
new
RestTemplate
();
try
{
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/application.properties
+
1
−
1
View file @
bbe1b8e1
API_KEY
=
RGAPI-
852e62c4-eb53-4cd7-81a0-7617261f26a2
API_KEY
=
RGAPI-
ff7ed355-53c2-466f-85be-a6a115055476
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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