0

Like the question says, my django static files are visible at website.com/static How can I hide it from the public like other django websites, and should I be worried?

Thanks!

EDIT:

STATIC_ROOT = "/var/www/vhosts/abcd/static"  # '' is the default

# URL prefix for static files.
# Example: "http://example.com/static/", "http://static.example.com/"
STATIC_URL = '/static/'
STATIC_IN_VIEW_URL = 'http://mywebsite.com/static/'
Alf
  • 832
  • 1
  • 8
  • 17

0 Answers0