
Story: 2008529 Task: 41923 Signed-off-by: Bin Yang <bin.yang@windriver.com> Change-Id: Icd665ffff700f1d915233ee3630ffd8ec5c5d923
32 lines
670 B
Python
32 lines
670 B
Python
#
|
|
# Copyright (c) 2021 Wind River Systems, Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
# Server Specific Configurations
|
|
server = {
|
|
'port': '8080',
|
|
'host': '0.0.0.0'
|
|
}
|
|
|
|
# Pecan Application Configurations
|
|
app = {
|
|
'root': 'notificationclient.controllers.root.RootController',
|
|
'modules': ['notificationclient'],
|
|
'static_root': '%(confdir)s/../../public',
|
|
'template_path': '%(confdir)s/../templates',
|
|
'debug': True,
|
|
'errors': {
|
|
'404': '/error/404',
|
|
'__force_dict__': True
|
|
}
|
|
}
|
|
|
|
# Custom Configurations must be in Python dictionary format::
|
|
#
|
|
# foo = {'bar':'baz'}
|
|
#
|
|
# All configurations are accessible at::
|
|
# pecan.conf
|