Skip to content
This repository has been archived by the owner on Jan 1, 2019. It is now read-only.

Accessing config inside custom application #21

Closed
milosh012 opened this issue Feb 6, 2015 · 2 comments
Closed

Accessing config inside custom application #21

milosh012 opened this issue Feb 6, 2015 · 2 comments

Comments

@milosh012
Copy link

Hello,

I need to access site global config inside app. How I can do this?

For example I need to access server.host variable depending on the NODE_ENV.

Thanks in advance,
Milos

@avsd
Copy link

avsd commented Feb 17, 2015

Hi @milosh012

Here is something that may help you: https://github.com/uploadcare/uploadcare-ghost-demo/pull/4/files#diff-bcd5149c7fd32f4f107e57b95fe4fec1R22 - search for "uploadcarePublicKey" across the code.

Is your app public or proprietary? I would like to know how are you integrating it with core of Ghost, as I am stuck with it... The app we are developing is currently available as a patch to Ghost, and I'd like to make it installable.

Can you help?

@ErisDS
Copy link
Member

ErisDS commented Mar 21, 2015

@milosh012 Ghost Apps are still very much a work in progress, and the config is not yet exposed to the app in any way. I'm afraid these apps are simply not ready for prime time yet.

@ErisDS ErisDS closed this as completed Mar 21, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants