加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
config.yml 917 Bytes
一键复制 编辑 原始数据 按行查看 历史
Craig N. Caroon 提交于 2014-02-27 16:38 . * Added API endpoint (controller)
# This is the main configuration file of your Dancer app
# env-related settings should go to environments/$env.yml
# all the settings in this file will be loaded at Dancer's startup.
# Your application's name
appname: "metiisto"
# The default layout to use for your application (located in
# views/layouts/main.tt)
layout: "main"
session: YAML
session_name: metiisto_session
# when the charset is set to UTF-8 Dancer will handle for you
# all the magic of encoding and decoding. You should not care
# about unicode within your app when this setting is set (recommended).
charset: "UTF-8"
serializer: JSON
# template engine
# simple: default and very basic template engine
# template_toolkit: Template Toolkit
template: "template_toolkit"
engines:
template_toolkit:
encoding: 'utf8'
start_tag: '[%'
end_tag: '%]'
JSON:
allow_blessed: '1'
convert_blessed: '1'
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化