Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playing guides from a relative URL path #9

Open
dhimmel opened this issue Jun 14, 2016 · 1 comment
Open

Playing guides from a relative URL path #9

dhimmel opened this issue Jun 14, 2016 · 1 comment

Comments

@dhimmel
Copy link
Contributor

dhimmel commented Jun 14, 2016

Not sure if this issue belongs here or in neo4j/neo4j-browser.

But, I've configured the guide-extension to host files. For development, I access guides locally (e.g. http://localhost:7474/guides/hetionet.html), while for deployment, I access guides externally (e.g. http://neo4j.het.io/guides/hetionet.html).

I wasn't able to use relative paths with the play command. I tried :play ../guides/hetionet.html (document relative) and :play /guides/hetionet.html (root relative), and both gave 404 errors.

Is there any workaround or easy-fix other than specifying the absolute URL, which would require a development/deployment bifurcation?

@dhimmel
Copy link
Contributor Author

dhimmel commented Jun 14, 2016

One potential solution would be for me to add builtin guides. For example, where is the start guide from in :play start? Is it possible to add a guide that can be called by name rather than URL?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant