Skip to content
This repository was archived by the owner on Oct 8, 2023. It is now read-only.

support user-related mode StaticHandler#146

Open
RanchoCooper wants to merge 1 commit intovibora-io:masterfrom
RanchoCooper:improve/static
Open

support user-related mode StaticHandler#146
RanchoCooper wants to merge 1 commit intovibora-io:masterfrom
RanchoCooper:improve/static

Conversation

@RanchoCooper
Copy link

@RanchoCooper RanchoCooper commented Jul 16, 2018

Description:
If define a StaticHandler with user-related directory, then raise. For example

app = Vibora(router_strategy=RouterStrategy.CLONE,
             # NOTE. related path not work
             static=StaticHandler(paths=['~'],
                                  url_prefix='/static',
                                  max_cache_size=1024 * 1024))

it will raise StaticNotFound error

Improve:

  • support user-related directory for StaticHandler

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant