Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

Commit

Permalink
feat(api): add default API endpoint for mobile TV API
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans Kristian Flaatten committed Aug 13, 2016
1 parent 89030f4 commit b6addae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ services:
working_dir: /usr/src/app
volumes:
- ".:/usr/src/app"
env_file: .env
environment:
- NODE_ENV=development
- NPM_CONFIG_LOGLEVEL=silent
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const jsonist = require('jsonist');

const nrkTvApi = process.env.NRK_TV_API || 'https://tv.nrk.no';
const nrkPsApi = process.env.NRK_PS_API || 'http://v8.psapi.nrk.no';
const nrkTvMobilApi = process.env.NRK_TV_MOBIL;
const nrkTvMobilApi = process.env.NRK_TV_MOBIL || 'https://tvapi.nrk.no/v1';

module.exports.headers = function headers(agent) {
if (agent === 'app') {
Expand Down

0 comments on commit b6addae

Please sign in to comment.