forked from WWBN/AVideo-Encoder
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.htaccess
33 lines (28 loc) · 1.76 KB
/
.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
25
26
27
28
29
30
31
32
33
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin: *
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^index.php$ view/index.php [NC,L]
#RewriteRule ^$ view/ [NC,L]
RewriteRule ^isAdmin$ view/isAdmin.php [NC,L]
RewriteRule ^removeStreamer$ view/removeStreamer.php [NC,L]
RewriteRule ^priority$ view/priority.php [NC,L]
RewriteRule ^status$ view/status.php [NC,L]
RewriteRule ^serverStatus$ view/status.php?serverStatus=1 [NC,L]
RewriteRule ^upload$ view/upload.php [NC,L]
RewriteRule ^listFiles.json$ view/listFiles.json.php [NC,L]
RewriteRule ^deleteQueue$ view/deleteQueue.php [NC,L]
RewriteRule ^saveConfig$ view/saveConfig.php [NC,L]
RewriteRule ^youtubeDl.json$ view/youtubeDl.json.php [NC,L]
RewriteRule ^send.json$ view/send.json.php [NC,L]
RewriteRule ^streamers.json$ view/streamers.json.php [NC,L]
RewriteRule ^queue.json$ view/queue.json.php [NC,L]
RewriteRule ^queue$ view/queue.php [NC,L]
RewriteRule ^login$ objects/login.json.php [NC,L]
RewriteRule ^logoff$ objects/logoff.json.php [NC,L]
RewriteRule ^getImage/([A-Za-z0-9=/]+)/([A-Za-z0-9]{3})$ objects/getImage.php?base64Url=$1&format=$2 [NC,L]
RewriteRule ^getImageMP4/([A-Za-z0-9=/]+)/([A-Za-z0-9]{3})/([0-9.]+)$ objects/getImageMP4.php?base64Url=$1&format=$2&time=$3 [NC,L]
RewriteRule ^getSpiritsFromVideo/([A-Za-z0-9=/]+)/([0-9]+)/([0-9]+)$ objects/getSpiritsFromVideo.php?base64Url=$1&tileWidth=$2&totalClips=$3 [NC,L]
RewriteRule ^getLinkInfo/([A-Za-z0-9=/]+)$ objects/getLinkInfo.json.php?base64Url=$1 [NC,L]
</IfModule>