-
Notifications
You must be signed in to change notification settings - Fork 52
/
.htaccess
24 lines (21 loc) · 955 Bytes
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^search$ search.php
RewriteRule ^videos$ videos.php
RewriteRule ^playlists$ playlists.php
RewriteRule ^playlistItems$ playlistItems.php
RewriteRule ^channels$ channels.php
RewriteRule ^community$ community.php
RewriteRule ^webhooks$ webhooks.php
RewriteRule ^commentThreads$ commentThreads.php
RewriteRule ^lives$ lives.php
RewriteRule ^liveChats$ liveChats.php
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
# For official instances:
Redirect /matrix https://matrix.to/#/#youtube-operational-api:matrix.org
Redirect /discord https://discord.gg/pDzafhGWzf
Redirect /code https://github.com/Benjamin-Loison/YouTube-operational-API
Redirect /host-your-own-instance https://github.com/Benjamin-Loison/YouTube-operational-API/blob/main/README.md#install-your-own-instance-of-the-api
Redirect /issues https://github.com/Benjamin-Loison/YouTube-operational-API/issues