OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import logging | 5 import logging |
6 import time | 6 import time |
7 import traceback | 7 import traceback |
8 | 8 |
9 from app_yaml_helper import AppYamlHelper | 9 from app_yaml_helper import AppYamlHelper |
10 from appengine_wrappers import ( | 10 from appengine_wrappers import ( |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 object_store_creator) | 228 object_store_creator) |
229 app_samples_file_system = self._delegate.CreateAppSamplesFileSystem( | 229 app_samples_file_system = self._delegate.CreateAppSamplesFileSystem( |
230 object_store_creator) | 230 object_store_creator) |
231 compiled_host_fs_factory = CompiledFileSystem.Factory( | 231 compiled_host_fs_factory = CompiledFileSystem.Factory( |
232 host_file_system, | 232 host_file_system, |
233 object_store_creator) | 233 object_store_creator) |
234 return ServerInstance(channel, | 234 return ServerInstance(channel, |
235 object_store_creator, | 235 object_store_creator, |
236 host_file_system, | 236 host_file_system, |
237 app_samples_file_system, | 237 app_samples_file_system, |
238 '/static' if channel == 'stable' else | 238 '' if channel == 'stable' else '/%s' % channel, |
239 '/%s/static' % channel, | |
240 compiled_host_fs_factory) | 239 compiled_host_fs_factory) |
OLD | NEW |