community: remove premium protocols and streaming surface
This commit is contained in:
@@ -53,12 +53,6 @@ function mapRoute(urlPath) {
|
||||
if (urlPath === '/usage') {
|
||||
return path.join(ROOT_DIR, 'html', 'usage.html');
|
||||
}
|
||||
if (urlPath === '/stream-sessions') {
|
||||
return path.join(ROOT_DIR, 'html', 'stream-sessions.html');
|
||||
}
|
||||
if (urlPath === '/async-jobs') {
|
||||
return path.join(ROOT_DIR, 'html', 'async-jobs.html');
|
||||
}
|
||||
if (urlPath === '/settings') {
|
||||
return path.join(ROOT_DIR, 'html', 'settings.html');
|
||||
}
|
||||
@@ -171,14 +165,6 @@ const server = http.createServer((request, response) => {
|
||||
redirect(response, '/usage');
|
||||
return;
|
||||
}
|
||||
if (urlPath === '/html/stream-sessions.html') {
|
||||
redirect(response, '/stream-sessions');
|
||||
return;
|
||||
}
|
||||
if (urlPath === '/html/async-jobs.html') {
|
||||
redirect(response, '/async-jobs');
|
||||
return;
|
||||
}
|
||||
if (urlPath === '/html/settings.html') {
|
||||
redirect(response, '/settings');
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user