def register_storage(self):
    storage = StorageCapsule()
    storage.add_storage_assets(STATICFILES)
    self.application.bind('storage_capsule', storage)
    self.application.set_response_handler(response_handler)
    self.application.use_storage_path(base_path('storage'))
def register_storage(self):
    storage = StorageCapsule()
    storage.add_storage_assets(STATICFILES)
    self.application.bind('storage_capsule', storage)
    self.application.set_response_handler(response_handler)
    self.application.use_storage_path(base_path('storage'))