summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-11-21 15:04:17 +0100
committerJules Laplace <julescarbon@gmail.com>2020-11-21 15:04:17 +0100
commitee04ccd494b8a2dd1e535168979596c9907cd0ab (patch)
tree405f3246dc6a268c99797637d71857795481b231 /animism-align/frontend/app/views
parentf3b60235685cbfe3275045ad046760c390e76141 (diff)
share url
Diffstat (limited to 'animism-align/frontend/app/views')
-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")