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

Removing hard-coded port number

closes #1391
This commit is contained in:
Hannah Wolfe 2014-08-22 08:58:21 +01:00
parent 98c89b4858
commit 663dc5861b

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'],