This repository has been archived by the owner on Sep 22, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #137 from Pomax/bug873064
removed soundcloudness
- Loading branch information
Showing
3 changed files
with
13 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,5 @@ | ||
/* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
* You can obtain one at http://mozilla.org/MPL/2.0/. */ | ||
|
||
var habitat = require( "habitat" ); | ||
|
||
// Load config from ".env" | ||
habitat.load(); | ||
|
||
var env = new habitat(); | ||
|
||
var urlutil = require( "url" ); | ||
|
||
// In here we hack the environment variables that habitat uses based on | ||
// VCAP_SERVICES provided by CloudFoundry | ||
require( "./cloudfoundry-env" ); | ||
|
||
module.exports = env; | ||
module.exports = (function() { | ||
var habitat = require( "habitat" ); | ||
habitat.load(); | ||
return new habitat(); | ||
}()); |