Skip to content

Commit

Permalink
Add Content-Type for SDP examples
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbrightwell committed Jul 10, 2023
1 parent d9bbca1 commit 0152120
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions make-rewrites.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,8 @@ fi

echo Making repo rewrite rule
echo "RewriteRule ^repo(.*) $REPO_ADDRESS\$1 [R]" >> $HTACCESS

if compgen -G "*/*/examples/*.sdp" > /dev/null; then
echo "Adding Content-Type for SDP examples"
echo "AddType application/sdp .sdp" >> $HTACCESS
fi

0 comments on commit 0152120

Please sign in to comment.