Skip to content

Commit

Permalink
chore: set s3 url from env
Browse files Browse the repository at this point in the history
  • Loading branch information
antonreshetov committed Feb 23, 2019
1 parent 3059f8c commit 42008ff
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/templates/EmailTemplate1.vue
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
<a :href="formatLink(item.link)">
<img
width="12px"
:src="`https://s3.eu-central-1.amazonaws.com/mysigmail/icons/${item.icon}.png`"
:src="`${s3url}/icons/${item.icon}.png`"
:alt="`social-icon-${item.icon}`"
style="display: table-cell; vertical-align: middle;"
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/templates/EmailTemplate2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
<a :href="formatLink(item.link)">
<img
width="12px"
:src="`https://s3.eu-central-1.amazonaws.com/mysigmail/icons/${item.icon}.png`"
:src="`${s3url}/icons/${item.icon}.png`"
:alt="`social-icon-${item.icon}`"
style="display: table-cell; vertical-align: middle;"
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/templates/EmailTemplate3.vue
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
<a :href="formatLink(item.link)">
<img
width="12px"
:src="`https://s3.eu-central-1.amazonaws.com/mysigmail/icons/${item.icon}.png`"
:src="`${s3url}/icons/${item.icon}.png`"
:alt="`social-icon-${item.icon}`"
style="display: table-cell; vertical-align: middle;"
>
Expand Down
3 changes: 2 additions & 1 deletion src/components/templates/emailTemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import { mapState } from 'vuex'
export default {
data () {
return {
filterFields: ['Full name', 'Job title', 'Company']
filterFields: ['Full name', 'Job title', 'Company'],
s3url: process.env.VUE_APP_AWS_S3_URL
}
},

Expand Down

0 comments on commit 42008ff

Please sign in to comment.