webRtc repaired
This commit is contained in:
+18
-11
@@ -20,7 +20,6 @@ const { ANALYZE, DEV } = process.env
|
||||
});
|
||||
module.exports = withPlugins(
|
||||
[
|
||||
[{target: 'serverless'}],
|
||||
[withCSS],
|
||||
[optimizedImages, {
|
||||
/* config for next-optimized-images */
|
||||
@@ -68,18 +67,26 @@ module.exports = withPlugins(
|
||||
staticFolder: '/static',
|
||||
push: {
|
||||
'defaultAction': 'https://application.bzh/',
|
||||
'defaultIconLink': 'https://application.bzh/static/images/icons/talentstubeIco152x152.png',
|
||||
'defaultIconLink': 'https://application.bzh/static/images/icons/e-declicIco152x152.png',
|
||||
'defaultImageLink': 'https://application.bzh/static/images/banner/atc-site-web-responsive.jpg',
|
||||
'topics': [
|
||||
{ key: 'e-declic', value: false },
|
||||
{ key: 'PWA', value: false }
|
||||
]
|
||||
},
|
||||
wordpressUrl: {
|
||||
'menu': 'https://api.e-declic.net/wp-json/menus/v1/menus/top',
|
||||
'posts': 'https://api.e-declic.net/wp-json/wp/v2/posts',
|
||||
'postDetail': 'https://api.e-declic.net/wp-json/wp/v2/posts',
|
||||
'pageDetail': 'https://api.e-declic.net/wp-json/wp/v2/pages',
|
||||
'categories': 'https://api.e-declic.net/wp-json/wp/v2/categories',
|
||||
'media': 'https://api.e-declic.net/wp-json/wp/v2/media'
|
||||
|
||||
},
|
||||
ReCAPTCHA: {
|
||||
"siteKey": "6LdyqLwUAAAAADKI5uC7d5W9VqVgzd8VEmMU2Yi-"
|
||||
"siteKey": "6LcCvHcUAAAAAEw2gBZkoJcVvsNp1IgU4MnrIaRI"
|
||||
},
|
||||
eDeclicUrl: 'http://www.e-declic.com',
|
||||
enableVideo: DEV ? false : true
|
||||
}
|
||||
}]
|
||||
|
||||
@@ -112,14 +119,14 @@ module.exports = withPlugins(
|
||||
config.resolve.alias = { ...config.resolve.alias, ...videojsAlias };
|
||||
config.plugins.push(videojsPlugin);
|
||||
|
||||
config.module.rules.push(
|
||||
{
|
||||
test: /\.css$/,
|
||||
loader: 'style-loader!css-loader',
|
||||
// include: [/node_modules/]
|
||||
},
|
||||
// config.module.rules.push(
|
||||
// {
|
||||
// test: /\.css$/,
|
||||
// loader: 'style-loader!css-loader',
|
||||
// // include: [/node_modules/]
|
||||
// },
|
||||
|
||||
)
|
||||
// )
|
||||
|
||||
console.log(config);
|
||||
return config
|
||||
|
||||
Reference in New Issue
Block a user