Skip to content

Commit

Permalink
UI redirects to localhost:9000 after login - issue resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
Pranav-b-7 committed Feb 2, 2021
1 parent 2a0b147 commit 004b4a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions gate-web/config/gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ server:
enabled: true

services:
ui:
baseUrl: http://oes-ui:8080
deck:
baseUrl: http://localhost:9000
orca:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,12 @@ import javax.servlet.http.HttpServletResponse
@RestController
class RootController {

@Value('${services.deck.base-url:}')
URL deckBaseUrl

@Value('${services.oesui.external-url:}')
@Value('${services.oesui.externalUrl:}')
String uiBaseUrl

@RequestMapping("/")
void root(HttpServletResponse response) {
log.info("uiBaseUrl : {}", uiBaseUrl)
response.sendRedirect(uiBaseUrl + "/application")
//response.sendRedirect(deckBaseUrl.toString())
}
}

0 comments on commit 004b4a9

Please sign in to comment.