Skip to content

Commit fe11fb5

Browse files
committed
Stupid ES6 imports...
1 parent f58befd commit fe11fb5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/cli/parse-server.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import path from 'path';
22
import express from 'express';
3-
import ParseServer from '../index';
3+
import { ParseServer } from '../index';
44
import definitions from './cli-definitions';
55
import program from './utils/commander';
66
import colors from 'colors';
@@ -54,7 +54,7 @@ let options = Object.keys(definitions).reduce(function (options, key) {
5454
options[key] = program[key];
5555
}
5656
return options;
57-
}, options);
57+
}, {});
5858

5959
const app = express();
6060
const api = new ParseServer(options);
@@ -70,5 +70,5 @@ app.listen(options.port, function() {
7070
console.log(`${key}: ${value}`);
7171
}
7272
console.log('');
73-
console.log('parse-server running on http://localhost:'+ optins.port + options.mountPath);
73+
console.log('parse-server running on http://localhost:'+ options.port + options.mountPath);
7474
});

0 commit comments

Comments
 (0)