Commit 195a225d authored by peterh-gr's avatar peterh-gr
Browse files

Fixed some more asset path issues

I hadn't checked the non-donate pages for asset issues and found a bunch
including the redirect to the thank-you page.
parent c215f11c
This diff is collapsed.
This diff is collapsed.
......@@ -20,9 +20,9 @@ For your convenience, our wallet addresses are listed below. Please make sure to
<div class="content-center">
<h4 class="text-white text-uppercase">Share the Tor Project</h4>
<div class="share-icons">
<a href="http://www.facebook.com/sharer.php?u=https://donate.torproject.org"><img src="/static/images/facebook-logo.png">
<a href="http://www.facebook.com/sharer.php?u=https://donate.torproject.org"><img src="../static/images/facebook-logo.png">
</a>
<a href="https://twitter.com/intent/tweet?text=Tracking%2C%20surveillance%2C%20and%20censorship%20are%20widespread%20online.%20Let%27s%20%23TakeBacktheInternet.%20Join%20me%20and%20donate%20to%20%40torproject%3A%20https%3A//donate.torproject.org"><img src="/static/images/twitter-white-on-blue.png">
<a href="https://twitter.com/intent/tweet?text=Tracking%2C%20surveillance%2C%20and%20censorship%20are%20widespread%20online.%20Let%27s%20%23TakeBacktheInternet.%20Join%20me%20and%20donate%20to%20%40torproject%3A%20https%3A//donate.torproject.org"><img src="../static/images/twitter-white-on-blue.png">
</a>
</div>
</div>
......
......@@ -49,7 +49,7 @@ export function _GivingForm(props) {
let normalizedSuccessRedirectUrl = successRedirectUrl.trim();
if (normalizedSuccessRedirectUrl == '') {
normalizedSuccessRedirectUrl = '/donate-thank-you';
normalizedSuccessRedirectUrl = '../donate-thank-you';
}
const priceOtherRef = useRef(null);
......
......@@ -130,5 +130,5 @@
window.reactComponents = [cryptoReactComponent];
}
</script>
<script type="text/javascript" src="/static/gen/donate.js"></script>
<script type="text/javascript" src="{{ "/static/gen/donate.js" | asseturl }}"></script>
{% endblock %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment