-
Notifications
You must be signed in to change notification settings - Fork 267
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
Don't server Static Files. #167
Comments
Can I have:
|
daphne==2.0.3 my main urls.py
my urls of login app
## my urls of dashboard app
My settings.py
My routing.py
my asgi.py
"The static URL that does not work:" "The path that static URL should serve (where the file is in your project)" |
Ahh, you're talking about running it in production via |
Ohh I see. I recently noticed that when I was using Channels 1.8, I had this code on routing.py
Its likely that was the reason. that on 1.8 was working and 2.0 don't |
Right. If you want to serve static files directly from the process still, you can use something like |
@andrewgodwin While there is |
@ebsaral It's not the right place to ask it, but I'll reply anyway - there's similar code in Channels 2 in |
I already commented to Andrew via Twitterr.I have the most recent versions of channels, daphne and asgi-ref, and the static files doesn't load.
On version 1.1.8 works Well. I already have the staticfiles turned on as an app
The text was updated successfully, but these errors were encountered: