Skip to content

Commit

Permalink
restore admin login
Browse files Browse the repository at this point in the history
  • Loading branch information
peh committed Mar 27, 2017
1 parent a746596 commit 47b168b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion grails-app/conf/application.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ grails {
}
}
PutPool {
workers = 2
workers = 3
queueNames = putJobs.collect { it.queueName }.unique()
jobTypes = putJobs.name
}
Expand Down
4 changes: 2 additions & 2 deletions grails-app/controllers/errbuddy/UrlMappings.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ class UrlMappings {
"500"(controller: 'error', action: 'error')
"401"(controller: 'error', action: 'notAllowed')

"/s/$identifier"(controller: 'site', action: 'byIdentifier')

// AppApi
'/api/app/me'(controller: 'user', action: 'me')
"/api/app/users/$id"(controller: 'user', action: [GET: 'get', PUT: 'update', DELETE: 'delete'])
Expand Down Expand Up @@ -59,6 +57,8 @@ class UrlMappings {
"/api/ping"(controller: 'api', action: 'ping')

"/s/$identifier"(controller: 'shortlink', action: 'redirect')
"/login/$action"(controller: 'login')
"/logout"(controller: 'logout')

// everything goes to "the app"
"/**"(view: "/page/app")
Expand Down

0 comments on commit 47b168b

Please sign in to comment.