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

static handler for home page doesn't work #5

Open
snarfed opened this issue Oct 31, 2021 · 2 comments
Open

static handler for home page doesn't work #5

snarfed opened this issue Oct 31, 2021 · 2 comments

Comments

@snarfed
Copy link
Contributor

snarfed commented Oct 31, 2021

Hi again! I haven't dug into this one yet, but I figured I'd report it first. Evidently static_files isn't supported for the home page? eg this returns a 404:

- url: /
  static_files: static/index.html
  upload: static/index.html

...but if you add any path to url, like this, it works.

- url: /x
  static_files: static/index.html
  upload: static/index.html
@snarfed
Copy link
Contributor Author

snarfed commented Oct 31, 2021

@snarfed
Copy link
Contributor Author

snarfed commented Oct 31, 2021

OK so, sounds like this is a feature request to look for handlers with script and attach them to gunicorn, instead of making it the catch-all for all paths? Or we could keep that behavior and implement it as a true fallback instead, instead of overriding /?

sveneberth pushed a commit to sveneberth/app_server that referenced this issue Apr 19, 2024
chore: Change pip version from exact to minimum conditions
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