Skip to content

Commit da0eefe

Browse files
authored
Update config.yml
1 parent b616e8b commit da0eefe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.tugboat/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ services:
2626
# Error occurred when implementing Tugboat preview.
2727
# Solution: Inject .htaccess file to mimic GitHub pages behavior with URLs.
2828
# Solution from: https://serverfault.com/questions/989333/using-apache-rewrite-rules-in-htaccess-to-remove-html-causing-a-500-error.
29-
- echo "RewriteEngine On" > _site/.htaccess
30-
- echo "RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI}.html -f" >> _site/.htaccess
31-
- echo "RewriteRule "'!'"\.\w{2,4}$ %{REQUEST_URI}.html [L]" >> _site/.htaccess
29+
- echo "RewriteEngine On" > open-requirements-library/.htaccess
30+
- echo "RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI}.html -f" >> open-requirements-library/.htaccess
31+
- echo "RewriteRule "'!'"\.\w{2,4}$ %{REQUEST_URI}.html [L]" >> open-requirements-library/.htaccess

0 commit comments

Comments
 (0)