Fix some paths
This commit is contained in:
+2
-1
@@ -14,6 +14,7 @@ from django.template.loader import render_to_string
|
||||
import logging
|
||||
import requests
|
||||
from dealer.git import git
|
||||
from sikweb.settings import URL
|
||||
|
||||
from ohlhafv.models import OhlhafvChallenge
|
||||
from ohlhafv.forms import OhlhafvForm
|
||||
@@ -39,7 +40,7 @@ def ohlhafv_submit(request, *args, **kwargs):
|
||||
challenge = form.instance
|
||||
email = form.cleaned_data.get('victim_email', '')
|
||||
|
||||
url = 'https://sika.sahkoinsinoorikilta.fi/ohlhafv/list'
|
||||
url = f'https://{URL}/ohlhafv/list'
|
||||
subject = _('Sinut on haastettu Øhlhäfviin!')
|
||||
|
||||
message = render_to_string(
|
||||
|
||||
Reference in New Issue
Block a user