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:
commit
da6ad475c6
1 changed files with 7 additions and 6 deletions
|
@ -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'],
|
||||
|
|
Loading…
Reference in a new issue