Skip to content

Commit

Permalink
change test to get one positive result
Browse files Browse the repository at this point in the history
  • Loading branch information
simontaurus authored Dec 15, 2023
1 parent e579575 commit 51314e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emmo/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RewriteEngine On

# Rule 1: https://w3id.org/emmo/domain/{DOMAIN}
##TESTv1 '/emmo/domain-test --header "Accept: text/html"' "https://emmo-repo.github.io/domain-test/test.html"
##TESTv1 '/emmo/domain-test --header "Accept: application/rdf+xml"' "https://emmo-repo.github.io/domain-test/test.ttl"
##TESTv1 '/emmo/domain-test --header "Accept: application/rdf+xml"' "https://raw.githubusercontent.com/emmo-repo/EMMO/domain-test.ttl"
RewriteCond %{HTTP_ACCEPT} text/html [OR]
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml
RewriteRule ^domain/(domain-)?([^/]+)$ https://emmo-repo.github.io/$1$2/$2.html [R=303,NE,L]
Expand Down

0 comments on commit 51314e0

Please sign in to comment.