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

Blog lines examples #662

Merged
merged 2 commits into from
Jan 24, 2017
Merged

Blog lines examples #662

merged 2 commits into from
Jan 24, 2017

Conversation

manthey
Copy link
Contributor

@manthey manthey commented Jan 20, 2017

Add the hidden example used for the lines blog comparison grid.

Probably the most useful piece of this is the the ability to compare different versions of geojs and other libraries.

@@ -3,7 +3,7 @@ extends ./common/templates/index.jade
mixin thumbnail(ex)
.col-md-4
.thumbnail
a(href="#{ex.path}")
a(href="#{ex.path}/")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I may know the reason but curious on why we had to do this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On demo.kitware.com, we are proxying from a directory (demo.kitware.com/geojs/). The code in the node express server that redirects directories strips off the proxy location (e.g., demo.kitware.com/geojs/examples/lines => demo.kitware.com/examples/lines/). Rather than figure out how to better proxy node express, if we just ask for where we want to go to start with, it saves a redirect and goes to the right place.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, thanks thats what i thought

@manthey manthey merged commit 57608b8 into master Jan 24, 2017
@manthey manthey deleted the blog-lines branch January 24, 2017 13:09
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

Successfully merging this pull request may close these issues.

2 participants