Skip to content
Snippets Groups Projects
Commit ffac0d13 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

fix: mail configuration and remove unecessary code

parent 0f09089f
No related branches found
No related tags found
1 merge request!115feat(structure): change addresse api in order to cover the all department....
...@@ -4,7 +4,7 @@ export const configDev = { ...@@ -4,7 +4,7 @@ export const configDev = {
host: 'resin-dev.grandlyon.com', host: 'resin-dev.grandlyon.com',
protocol: 'https', protocol: 'https',
port: '443', port: '443',
from: 'inclusionnumerique@grandlyon.com', from: 'noreplyinclusionnumerique@grandlyon.com',
from_name: '[DEV] Réseau des acteurs de la médiation numérique', from_name: '[DEV] Réseau des acteurs de la médiation numérique',
replyTo: 'inclusionnumerique@grandlyon.com', replyTo: 'noreplyinclusionnumerique@grandlyon.com',
}; };
...@@ -4,7 +4,7 @@ export const configProd = { ...@@ -4,7 +4,7 @@ export const configProd = {
host: 'resin.grandlyon.com', host: 'resin.grandlyon.com',
protocol: 'https', protocol: 'https',
port: '443', port: '443',
from: 'inclusionnumerique@grandlyon.com', from: 'noreplyinclusionnumerique@grandlyon.com',
from_name: 'Réseau des acteurs de la médiation numérique', from_name: 'Réseau des acteurs de la médiation numérique',
replyTo: 'inclusionnumerique@grandlyon.com', replyTo: 'noreplyinclusionnumerique@grandlyon.com',
}; };
...@@ -4,7 +4,7 @@ export const configRec = { ...@@ -4,7 +4,7 @@ export const configRec = {
host: 'resin-rec.grandlyon.com', host: 'resin-rec.grandlyon.com',
protocol: 'https', protocol: 'https',
port: '443', port: '443',
from: 'inclusionnumerique@grandlyon.com', from: 'noreplyinclusionnumerique@grandlyon.com',
from_name: '[REC] Réseau des acteurs de la médiation numérique', from_name: '[REC] Réseau des acteurs de la médiation numérique',
replyTo: 'inclusionnumerique@grandlyon.com', replyTo: 'noreplyinclusionnumerique@grandlyon.com',
}; };
...@@ -76,7 +76,6 @@ export class PostsService { ...@@ -76,7 +76,6 @@ export class PostsService {
// Handle image display. Rewrite image URL to fit ghost infra issue. // Handle image display. Rewrite image URL to fit ghost infra issue.
if (!this.configService.isLocalConf()) { if (!this.configService.isLocalConf()) {
if (postData.feature_image) { if (postData.feature_image) {
console.log('NOT LOCAL');
postData.feature_image = `https://${this.configService.config.host}/blog/content${ postData.feature_image = `https://${this.configService.config.host}/blog/content${
postData.feature_image.split('/content')[1] postData.feature_image.split('/content')[1]
}`; }`;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment