Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

Commit

Permalink
fixed #8 - change port to 9999
Browse files Browse the repository at this point in the history
fixed #9 - change session name/id
  • Loading branch information
paxtonhare committed Feb 9, 2017
1 parent 0c82a94 commit 9edf28d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ Run it with:

`java -jar marklogic-debugger.war`

Open your browser to [http://localhost:8080](http://localhost:8080)
Open your browser to [http://localhost:9999](http://localhost:9999)

##### Changing the port

Want to use a port other than 8080? Run it like this:
Want to use a port other than 9999? Run it like this:

`java -jar marklogic-debugger.war --server.port=8090`

Expand Down
2 changes: 1 addition & 1 deletion proxy.config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"/api/*": {
"target": "http://localhost:8080",
"target": "http://localhost:9999",
"secure": false
}
}
8 changes: 7 additions & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ mlRestAdminUsername=admin
mlRestAdminPassword=admin

# Spring Boot property for the port that the app server runs on
server.port=8080
server.port=9999

# By default, enable the dev profile
spring.profiles.active=dev
Expand All @@ -22,3 +22,9 @@ spring.thymeleaf.cache=false

# No need to restart when a web file is modified
spring.devtools.restart.exclude=static/**,templates/**

# The cookie name is application-specific so it doesn't conflict with other Spring Boot-based apps
server.session.cookie.name=marklogicDebuggerSessionid

# Default the timeout to 10 hours (Spring Boot docs say this is in seconds, but it seems to be minutes instead)
server.session.timeout=600

0 comments on commit 9edf28d

Please sign in to comment.