This is an automated email from the ASF dual-hosted git repository.
meonkeys pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/fineract-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 4517783 add internal redirect for fontawesome fonts
4517783 is described below
commit 45177832b1b436c318c957eb9395b50730f139fc
Author: Adam Monsen <[email protected]>
AuthorDate: Thu May 29 16:03:51 2025 -0700
add internal redirect for fontawesome fonts
help rendered asciidoc find 'em
---
.htaccess | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.htaccess b/.htaccess
index b06e220..afe606e 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,10 +1,10 @@
-##
-
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^(www\.)?fineract.incubator.apache.org$
RewriteRule ^/?(.*)$ https://fineract.apache.org/$1 [L,R=301]
+# so rendered asciidoc can find fonts
+RewriteRule ^fonts/(fontawesome.+)$ docs/database/bower/font-awesome/fonts/$1
[L]
ErrorDocument 404 /404.html