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,8 +1,9 @@
var url = require('url'), var url = require('url'),
moment= require('moment'), moment = require('moment'),
config = require('../../server/config'),
ApiRouteBase = '/ghost/api/v0.1/', ApiRouteBase = '/ghost/api/v0.1/',
host = 'localhost', host = config.server.host,
port = '2369', port = config.server.port,
schema = 'http://', schema = 'http://',
expectedProperties = { expectedProperties = {
posts: ['posts', 'meta'], posts: ['posts', 'meta'],