aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorMaZderMind2016-12-20 23:14:35 +0100
committerMaZderMind2016-12-20 23:14:35 +0100
commit4a7a7ed1bcc6f36fb18f7f564d8f43a7e64a2e48 (patch)
treeb4a3a882c87f318bb6943841dc04079274401dd7 /index.php
parent9f10efd6475eb9f25a75c35cc5780bee38c3c88e (diff)
implement streams-api v2
fixes #6
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/index.php b/index.php
index 409d75e..7b255f4 100644
--- a/index.php
+++ b/index.php
@@ -107,6 +107,12 @@ try {
exit;
}
+ else if($route == 'streams/v2.json')
+ {
+ require('view/streams-json-v2.php');
+ exit;
+ }
+
else if($route == 'about')
{
// global about-page