OLD | NEW |
1 # Copyright 2012 The Swarming Authors. All rights reserved. | 1 # Copyright 2012 The LUCI Authors. All rights reserved. |
2 # Use of this source code is governed by the Apache v2.0 license that can be | 2 # Use of this source code is governed by the Apache v2.0 license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 """This module defines Isolate Server frontend url handlers.""" | 5 """This module defines Isolate Server frontend url handlers.""" |
6 | 6 |
7 import datetime | 7 import datetime |
8 import json | 8 import json |
9 | 9 |
10 import webapp2 | 10 import webapp2 |
11 | 11 |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 def create_application(debug): | 313 def create_application(debug): |
314 """Creates the url router. | 314 """Creates the url router. |
315 | 315 |
316 The basic layouts is as follow: | 316 The basic layouts is as follow: |
317 - /restricted/.* requires being an instance administrator. | 317 - /restricted/.* requires being an instance administrator. |
318 - /stats/.* has statistics. | 318 - /stats/.* has statistics. |
319 """ | 319 """ |
320 acl.bootstrap() | 320 acl.bootstrap() |
321 template.bootstrap() | 321 template.bootstrap() |
322 return webapp2.WSGIApplication(get_routes(), debug=debug) | 322 return webapp2.WSGIApplication(get_routes(), debug=debug) |
OLD | NEW |