Skip to content

Commit

Permalink
fix for heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
Hunterpp committed Jul 18, 2021
1 parent b6da76a commit 86d82fe
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ All the necessary components, and some nice-to-haves to get a node.js app runnin

Kaltura has a rich and comprehensive [Analytics API](https://developer.kaltura.com/api-docs/Video-Analytics-and-Insights/media-analytics.html) that you can use to generate your own reports and analyses. You can also implement Kaltura's ready made Analytics javascript widget which provides some of the most frequently requested insights.

![analytics_screen](/Users/hunterp/Documents/GitHub/analytics/readme_assets/analytics_screen.png)


![analytics_screen](readme_assets/analytics_screen.png)



Expand Down
5 changes: 0 additions & 5 deletions app.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
require('dotenv').config();
const fs = require('fs');

if(!fs.existsSync("./.env")) {
console.log(".env file not found. Quitting");
process.exit(1);
}

var createError = require('http-errors');
var express = require('express');
var path = require('path');
Expand Down
1 change: 0 additions & 1 deletion routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const path = require('path');
const kaltura = require('kaltura-client');
var KalturaClientFactory = require('../lib/kalturaClientFactory');


/* GET home page. */
router.get('/', async function (req, res, next) {
try {
Expand Down

0 comments on commit 86d82fe

Please sign in to comment.