summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/viewer/sections/viewer.sections.share.js
diff options
context:
space:
mode:
Diffstat (limited to 'animism-align/frontend/app/views/viewer/sections/viewer.sections.share.js')
-rw-r--r--animism-align/frontend/app/views/viewer/sections/viewer.sections.share.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/animism-align/frontend/app/views/viewer/sections/viewer.sections.share.js b/animism-align/frontend/app/views/viewer/sections/viewer.sections.share.js
index 6b3deaf..3950743 100644
--- a/animism-align/frontend/app/views/viewer/sections/viewer.sections.share.js
+++ b/animism-align/frontend/app/views/viewer/sections/viewer.sections.share.js
@@ -3,6 +3,7 @@ import React, { Component } from 'react'
import actions from 'app/actions'
import { writeToClipboard } from 'app/utils'
import { Arrow } from '../nav/viewer.icons'
+import { URLS } from 'app/constants'
export default class ViewerSectionsShare extends Component {
state = {
@@ -29,7 +30,7 @@ export default class ViewerSectionsShare extends Component {
if (this.state.copying) className += " copying"
if (this.state.copied) className += " copied"
const title = "Animism: Episode 1"
- const url = "https://animism.e-flux.com/episode1/"
+ const url = URLS.share_url
const mailtoURL = (
"mailto:?subject=" + encodeURIComponent(title) +
"&body=" + encodeURIComponent("I want to share this post on e-flux: " + url + "\n\n\n")