Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

Commit

Permalink
fix(references): from-production hotfix re missing url refs
Browse files Browse the repository at this point in the history
  • Loading branch information
didimitrie committed Dec 4, 2019
1 parent 28aa04f commit 36331df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
const fs = require( 'fs' )
const path = require( 'path' )
const winston = require( './config/logger' )
const URL = require( 'url').URL

const isDirectory = source => fs.lstatSync( source ).isDirectory( )
const getDirectories = source => fs.readdirSync( source ).map( name => path.join( source, name ) ).filter( isDirectory )


module.exports = ( ) => {
winston.debug( 'Scanning for speckle plugins...' )

Expand Down
1 change: 1 addition & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const mongoose = require( 'mongoose' ).set( 'debug', false )
const expressWinston = require( 'express-winston' )
const redis = require( 'redis' )
const logger = require( './config/logger' )
const URL = require('url').URL

// load up .env
const configResult = require( 'dotenv' ).config( { path: './.env' } )
Expand Down

0 comments on commit 36331df

Please sign in to comment.