0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Merge pull request #3851 from ErisDS/issue-1391

Removing hard-coded port number
This commit is contained in:
Sebastian Gierlinger 2014-08-22 10:46:36 +02:00
commit da6ad475c6

View file

@ -1,9 +1,10 @@
var url = require('url'),
moment= require('moment'),
ApiRouteBase = '/ghost/api/v0.1/',
host = 'localhost',
port = '2369',
schema = 'http://',
var url = require('url'),
moment = require('moment'),
config = require('../../server/config'),
ApiRouteBase = '/ghost/api/v0.1/',
host = config.server.host,
port = config.server.port,
schema = 'http://',
expectedProperties = {
posts: ['posts', 'meta'],
users: ['users', 'meta'],