Skip to content

Commit

Permalink
fix(config): use reco2bulle transition backend origin
Browse files Browse the repository at this point in the history
  • Loading branch information
bmenant committed Mar 8, 2019
1 parent 8bb8762 commit 9359cae
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions manifest/chromium.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import base from './base.js';
import csp from 'content-security-policy-builder';
import base from './base';

export default Object.assign(
{},
Expand All @@ -8,7 +8,7 @@ export default Object.assign(
'content_security_policy': csp({
'directives': {
'default-src': [
'https://recommendations.lmem.net',
'https://reco2bulle.lmem.net',
],
'script-src': [
'\'self\'',
Expand Down
4 changes: 2 additions & 2 deletions webpack/chromium.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ export default baseConfig({
new webpack.DefinePlugin({
'process.env': {
NODE_ENV: '"production"',
LMEM_BACKEND_ORIGIN: '"https://recommendations.lmem.net"',
LMEM_BACKEND_ORIGIN: '"https://reco2bulle.lmem.net"',
LMEM_SCRIPTS_ORIGIN: '\'.\'',
UNINSTALL_ORIGIN: '\'https://www.lmem.net/desinstallation\'',
REFRESH_MC_INTERVAL: '10*60*1000',
REFRESH_MC_INTERVAL: '30*60*1000',
ONBOARDING_ORIGIN: '"https://bienvenue.lmem.net?extensionInstalled"',
HEAP_APPID: '"3705584166"', // production
}
Expand Down
4 changes: 2 additions & 2 deletions webpack/firefox.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ export default baseConfig({
new webpack.DefinePlugin({
'process.env': {
NODE_ENV: '"production"',
LMEM_BACKEND_ORIGIN: '"https://recommendations.lmem.net"',
LMEM_BACKEND_ORIGIN: '"https://reco2bulle.lmem.net"',
LMEM_SCRIPTS_ORIGIN: '\'.\'', // Use local build
ONBOARDING_ORIGIN: '"https://bienvenue.lmem.net?extensionInstalled"',
REFRESH_MC_INTERVAL: '10*60*1000',
REFRESH_MC_INTERVAL: '30*60*1000',
// No analytics with Firefox
// HEAP_APPID: '"3705584166"',
}
Expand Down

0 comments on commit 9359cae

Please sign in to comment.