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

Add index.html to URL shown when deploying #134

Closed
mgeisler opened this issue Jun 19, 2014 · 0 comments
Closed

Add index.html to URL shown when deploying #134

mgeisler opened this issue Jun 19, 2014 · 0 comments

Comments

@mgeisler
Copy link
Contributor

When zpm deploy uploads an index.html page, it incorrectly assumes that the Swift installation is running the staticweb middleware and that this is configured to serve index.html as the default file.

This assumption is not universally correct and it would be better if it printed the full URL instead.

mgeisler added a commit to mgeisler/zpm that referenced this issue Jun 19, 2014
Before, we would show the user that we had deployed into

  server/v1/account/container/path/

This relied on the staticweb middleware being installed and a suitable
web index being configured. We now show

  server/v1/account/container/path/index.html

instead when an index.html file is being deployed. If no index.html
file is uploaded (zapps with a non-standard UI), we show the same URL
as before and the users will have to sort things out by themselves.
mgeisler added a commit to mgeisler/zpm that referenced this issue Jun 20, 2014
Before, we would show the user that we had deployed into

  server/v1/account/container/path/

This relied on the staticweb middleware being installed and a suitable
web index being configured. We now show

  server/v1/account/container/path/index.html

instead when an index.html file is being deployed. If no index.html
file is uploaded (zapps with a non-standard UI), we show the same URL
as before and the users will have to sort things out by themselves.
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