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

Updating server to return full url #7

Merged
merged 3 commits into from Jul 31, 2018
Merged

Updating server to return full url #7

merged 3 commits into from Jul 31, 2018

Conversation

patricksheppard-IDR
Copy link
Contributor

Version number needs updating, will do than in a separate commit.

Copy link
Contributor

@daniel-warren daniel-warren left a comment

Choose a reason for hiding this comment

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

Lots of un-needed spaces used? (e.g. lines 37,38,39) Might be worth running a format to remove?

individual.setValue("previewPath", "output/" + outputDir + "/index.html");
individual.setValue("downloadPath", "output/" + outputDir + ".zip");

individual.setValue("previewPath", contextURL + "/output/" + outputDir + "/index.html");
Copy link
Member

Choose a reason for hiding this comment

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

Shall we change these to previewUrl and downloadUrl? Seeing as we're breaking backwards compatibility anyway, now would be the time to do it. Any thoughts @RFoley?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Personally I think that would be a good idea, although we'd obviously have to update all the clients again.

Copy link
Contributor

Choose a reason for hiding this comment

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

Sounds like a good idea, would make more sense now.

Could even just drop 'path' and have 'preview' & 'download'.

Copy link
Member

Choose a reason for hiding this comment

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

My preference would be to include Url as it is more descriptive

Copy link
Contributor

Choose a reason for hiding this comment

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

good point - @patricksheppard-IDR would you like to update?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will have to work on it tomorrow as it is getting late, but I can update that.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Have updated to url

@patricksheppard-IDR patricksheppard-IDR merged commit 87220c3 into master Jul 31, 2018
@patricksheppard-IDR patricksheppard-IDR deleted the full-url branch July 31, 2018 14:45
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.

None yet

4 participants