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'),
|
var url = require('url'),
|
||||||
moment= require('moment'),
|
moment = require('moment'),
|
||||||
ApiRouteBase = '/ghost/api/v0.1/',
|
config = require('../../server/config'),
|
||||||
host = 'localhost',
|
ApiRouteBase = '/ghost/api/v0.1/',
|
||||||
port = '2369',
|
host = config.server.host,
|
||||||
schema = 'http://',
|
port = config.server.port,
|
||||||
|
schema = 'http://',
|
||||||
expectedProperties = {
|
expectedProperties = {
|
||||||
posts: ['posts', 'meta'],
|
posts: ['posts', 'meta'],
|
||||||
users: ['users', 'meta'],
|
users: ['users', 'meta'],
|
||||||
|
|
Loading…
Reference in a new issue