Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
Remove mix-matched es6 export
Browse files Browse the repository at this point in the history
  • Loading branch information
Jokinen committed Jan 28, 2020
1 parent ee69ef2 commit 7e4803f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const dotenv = require('dotenv');
const DEFAULT_API_URL = 'https://api.hel.fi/respa-test/v1';
const DEFAULT_TIME_ZONE = 'Europe/Helsinki';
const DEFAULT_LOGIN_CALLBACK_URL = '/login/helsinki/return';
export const ENV_NAMESPACE = 'VARAAMO_ENV';
const ENV_NAMESPACE = 'VARAAMO_ENV';

function getAsArray(value) {
if (value === undefined || value === null) {
Expand Down Expand Up @@ -75,3 +75,4 @@ function getSettings() {
const settings = getSettings();

module.exports = settings;
module.exports.ENV_NAMESPACE = ENV_NAMESPACE;

0 comments on commit 7e4803f

Please sign in to comment.