This is an automated email from the ASF dual-hosted git repository.

ptupitsyn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 56a45271e3 IGNITE-28500 Add redirection for downloads page (#330)
56a45271e3 is described below

commit 56a45271e3a894946220db546faef6c2957cb403
Author: Alexey Alexandrov <[email protected]>
AuthorDate: Thu Apr 9 15:38:52 2026 +0300

    IGNITE-28500 Add redirection for downloads page (#330)
    
    A server-side redirect is not currently feasible within the scope of 
available access, so this approach provides a practical interim solution at the 
application level.
---
 js/main.js | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/js/main.js b/js/main.js
index 4ffca71c02..c14c2c9696 100644
--- a/js/main.js
+++ b/js/main.js
@@ -1,3 +1,12 @@
+/**
+ * A server-side redirect is not currently feasible within the scope of
+ * available access (e.g., web server), so this approach provides a practical
+ * interim solution at the application level.
+ */
+if (location.pathname === '/download.cgi') {
+    location.replace('/download');
+}
+
 /**
  * Модальные окна
  * см. https://addmorescripts.github.io/hystModal/index_ru.html

Reply via email to