yiheng commented on a change in pull request #4643: [AIRFLOW-3780] Fix some
pages are incorrectly directly after set base_url
URL: https://github.com/apache/airflow/pull/4643#discussion_r255782446
##########
File path: airflow/www/templates/airflow/dags.html
##########
@@ -477,5 +477,9 @@ <h2>DAGs</h2>
container: "body",
});
});
+ function urlWithOrigin(url) {
+ url = url + '&origin=' + encodeURIComponent(window.location);
+ window.location = url;
Review comment:
Looks like `origin={{ request.base_url }}` fits here. Thanks for your
suggestion. I'm going to change it.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services