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

[bugfix] allow auspice view to work with custom auspice clients #1182

Merged
merged 1 commit into from
Jul 14, 2020

Conversation

jameshadfield
Copy link
Member

When running auspice view there is some logic to ask if we have a customised client bundle present, which we should serve, or whether we should serve the vanilla (default) auspice client.

PR #1126 introduced hashes into the (client) JS bundle names, which resulted in this logic missing when there was a customised client present, so we would always fall back to the vanilla auspice client.

Note that we didn't observe this in nextstrain.org as we don't use auspice view directly. This bug was identified while trying to upgrade auspice.us.

When running `auspice view` there is some logic to ask if we have a customised client bundle present, which we should serve, or whether we should serve the vanilla (default) auspice client.

PR #1126 introduced hashes into the (client) JS bundle names, which resulted in this logic missing when there was a customised client present, so we would always fall back to the vanilla auspice client.
@jameshadfield jameshadfield temporarily deployed to auspice-auspice-us-fix-icaewun July 14, 2020 03:39 Inactive
@jameshadfield
Copy link
Member Author

Tested with auspice.us & nextstrain.org

@jameshadfield jameshadfield merged commit 4900ac5 into master Jul 14, 2020
@jameshadfield jameshadfield deleted the auspice-us-fix branch July 14, 2020 04:25
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.

1 participant