OLD | NEW |
1 # Copyright 2012 The LUCI 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 under the Apache License, Version 2.0 |
3 # found in the LICENSE file. | 3 # that can be 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 import re | 9 import re |
10 | 10 |
11 import webapp2 | 11 import webapp2 |
12 | 12 |
13 from google.appengine.api import memcache | 13 from google.appengine.api import memcache |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 def create_application(debug): | 347 def create_application(debug): |
348 """Creates the url router. | 348 """Creates the url router. |
349 | 349 |
350 The basic layouts is as follow: | 350 The basic layouts is as follow: |
351 - /restricted/.* requires being an instance administrator. | 351 - /restricted/.* requires being an instance administrator. |
352 - /stats/.* has statistics. | 352 - /stats/.* has statistics. |
353 """ | 353 """ |
354 acl.bootstrap() | 354 acl.bootstrap() |
355 template.bootstrap() | 355 template.bootstrap() |
356 return webapp2.WSGIApplication(get_routes(), debug=debug) | 356 return webapp2.WSGIApplication(get_routes(), debug=debug) |
OLD | NEW |