Commit 4adc53b1 authored by 杨培's avatar 杨培

更改了 cdn 地址

parent e588b4d7
......@@ -44,13 +44,13 @@ return [
'bucket' => 'pp-classroom',
'fsizeLimit' => pow(1024, 2) * 5, //5MB
'mimeLimit' => 'image/jpeg;image/png;image/gif',
'url' => 'http://deimg.c.pp.cc/'
'url' => 'http://deimg.c.xixia.cc/'
],
'video' => [
'bucket' => 'pp-classroom-private',
'fsizeLimit' => pow(1024, 3) * 2, //2GB
'mimeLimit' => 'video/*;flv-application/octet-stream',
'url' => 'http://devdn.c.pp.cc/'
'url' => 'http://devdn.c.xixia.cc/'
]
]
]
......
......@@ -44,13 +44,13 @@ return [
'bucket' => 'yunya-public',
'fsizeLimit' => pow(1024, 2) * 5, //5MB
'mimeLimit' => 'image/jpeg;image/png;image/gif',
'url' => 'http://img.c.pp.cc/'
'url' => 'http://img.c.xixia.cc/'
],
'video' => [
'bucket' => 'yunya-video',
'fsizeLimit' => pow(1024, 3) * 2, //2GB
'mimeLimit' => 'video/*;flv-application/octet-stream',
'url' => 'http://vdn.c.pp.cc/'
'url' => 'http://vdn.c.xixia.cc/'
]
]
]
......
......@@ -103,7 +103,7 @@ if (process.env.NODE_ENV === 'production') {
new webpack.DefinePlugin({
__BASE_URL__: JSON.stringify('http://c.pp.cc/'),
__CDN_URL__: JSON.stringify('http://c.pp.cc/'),
__QINIU_URL__: JSON.stringify('http://img.c.pp.cc/'),
__QINIU_URL__: JSON.stringify('http://img.c.xixia.cc/'),
}),
new webpack.optimize.UglifyJsPlugin({
compress: {
......@@ -117,7 +117,7 @@ if (process.env.NODE_ENV === 'production') {
new webpack.DefinePlugin({
__BASE_URL__: JSON.stringify('http://dev.zuiketang.com/'),
__CDN_URL__: JSON.stringify('http://dev.zuiketang.com/'),
__QINIU_URL__: JSON.stringify('http://deimg.c.pp.cc/'),
__QINIU_URL__: JSON.stringify('http://deimg.c.xixia.cc/'),
}),
new webpack.optimize.UglifyJsPlugin({
compress: {
......@@ -131,7 +131,7 @@ if (process.env.NODE_ENV === 'production') {
new webpack.DefinePlugin({
__BASE_URL__: JSON.stringify('http://dev.zuiketang.com/'),
__CDN_URL__: JSON.stringify('http://dev.zuiketang.com/'),
__QINIU_URL__: JSON.stringify('http://deimg.c.pp.cc/'),
__QINIU_URL__: JSON.stringify('http://deimg.c.xixia.cc/'),
}),
]);
// config.devtool = 'source-map'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment