Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template all base urls in Globals.js #511

Merged
merged 10 commits into from Apr 14, 2020

no need to encode FQDN

  • Loading branch information
fcjr committed Mar 17, 2020
commit 0274e3d05ee526b5d14ed8d2a24670f3d1988747
@@ -304,7 +304,7 @@ class Tracker extends React.Component {
className="trk-src-link"
title={source.src}
key={index}
href={`${encodeURIComponent(globals.GCACHE_FQDN)}/${encodeURIComponent(this.props.language)}/gcache/?n=${encodeURIComponent(tracker.name)}&s=${encodeURIComponent(source.src)}&v=2&t=${source.type}`}
href={`${globals.GCACHE_FQDN}/${encodeURIComponent(this.props.language)}/gcache/?n=${encodeURIComponent(tracker.name)}&s=${encodeURIComponent(source.src)}&v=2&t=${source.type}`}
>
{ source.src }
</a>
ProTip! Use n and p to navigate between commits in a pull request.