fix domain in url in certificate pdf
This commit is contained in:
parent
a0bd339ab5
commit
eca9e6a19c
|
@ -143,8 +143,9 @@ class CredentialPdfView(MyWallet, TemplateView):
|
||||||
public=True,
|
public=True,
|
||||||
user=self.request.user
|
user=self.request.user
|
||||||
)
|
)
|
||||||
self.url_id = "{}/public/credentials/{}".format(
|
self.url_id = "{}://{}/public/credentials/{}".format(
|
||||||
settings.DOMAIN.strip("/"),
|
self.request.scheme,
|
||||||
|
self.request.get_host(),
|
||||||
self.object.hash
|
self.object.hash
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue