fix: Update idnits service URL (#4330)
This change introduces a new configuration option: `IDNITS_SERVICE_URL` to configure idnits service URL.
This commit is contained in:
parent
c0f1fd2395
commit
1869d375c4
ietf
|
@ -542,6 +542,7 @@ INTERNAL_IPS = (
|
|||
IDTRACKER_BASE_URL = "https://datatracker.ietf.org"
|
||||
RFCDIFF_BASE_URL = "https://www.ietf.org/rfcdiff"
|
||||
IDNITS_BASE_URL = "https://author-tools.ietf.org/api/idnits"
|
||||
IDNITS_SERVICE_URL = "https://author-tools.ietf.org/idnits"
|
||||
|
||||
# Content security policy configuration (django-csp)
|
||||
CSP_DEFAULT_SRC = ("'self'", "'unsafe-inline'", f"data: {IDTRACKER_BASE_URL} https://www.ietf.org/ https://analytics.ietf.org/ https://fonts.googleapis.com/")
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
<p>
|
||||
Before you submit your I-D, it is recommended that you check it for nits
|
||||
using the
|
||||
<a href="{{ settings.IDNITS_BASE_URL }}">idnits tool</a>.
|
||||
<a href="{{ settings.IDNITS_SERVICE_URL }}">idnits tool</a>.
|
||||
</p>
|
||||
<table class="table table-sm table-striped">
|
||||
<tbody>
|
||||
|
@ -216,4 +216,4 @@
|
|||
</tbody>
|
||||
</table>
|
||||
{% include "submit/problem-reports-footer.html" %}
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<hr>
|
||||
Before you submit your I-D, it is recommended that you check it for nits
|
||||
using the
|
||||
<a href="{{ settings.IDNITS_BASE_URL }}">idnits</a>
|
||||
<a href="{{ settings.IDNITS_SERVICE_URL }}">idnits</a>
|
||||
tool, and fix them.
|
||||
</div>
|
||||
<form method="post" enctype="multipart/form-data" class="my-3">
|
||||
|
@ -80,4 +80,4 @@
|
|||
$("#other-formats").collapse('show')
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue