1 Star 23 Fork 7

ccmall/fonteditor

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
edp-webserver-config.js 1.06 KB
Copy Edit Raw Blame History
kekee000 authored 2015-04-02 16:46 . modify template
exports.port = 9999;
exports.directoryIndexes = true;
exports.documentRoot = __dirname;
exports.getLocations = function () {
return [
{
location: /\/$/,
handler: home( 'index.html' )
},
{
location: /\.css($|\?)/,
handler: [
autocss({
less: {
relativeUrls: false
}
})
]
},
{
location: /\.less($|\?)/,
handler: [
file(),
less()
]
},
{
location: /\.tpl\.js/,
handler: [
html2js({
wrap: true,
mode: 'default'
})
]
},
{
location: /^.*$/,
handler: [
file(),
proxyNoneExists()
]
}
];
};
exports.injectResource = function ( res ) {
for ( var key in res ) {
global[ key ] = res[ key ];
}
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/635050/fonteditor.git
git@gitee.com:635050/fonteditor.git
635050
fonteditor
fonteditor
master

Search