ZeroIntensity / view.py

The Batteries-Detachable Web Framework
https://view.zintensity.dev
MIT License
206 stars 15 forks source link

Static files #56

Open ZeroIntensity opened 9 months ago

ZeroIntensity commented 9 months ago

Should look like this:

from view import new_app

app = new_app()
app.static("/hello", path="/files")  # will use the route path by default (i.e. /hello in this context)
ZeroIntensity commented 5 months ago

82 would have to be finished to implement this.