Closed das7pad closed 6 years ago
Running c9 in standalone mode on a remote Host or different IP blocks the Preview-feature for document-types other than markdown:
standalone
{"error":{"code":500,"scope":"standalone","message":"connect ECONNREFUSED"}}
The source of this problem is the hardcoded hostname in the /preview api-endpoint: localhost.
/preview
localhost
This PR resolves the problem in using the actual host instead of localhost.
Running c9 in
standalone
mode on a remote Host or different IP blocks the Preview-feature for document-types other than markdown:The source of this problem is the hardcoded hostname in the
/preview
api-endpoint:localhost
.This PR resolves the problem in using the actual host instead of
localhost
.