mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-02-01 02:05:03 -05:00
4994c93652926ef00ee1b04c7509a39508fdbe0b
In production, static files are located in the root of the static file host. On a local reddit install, they're only available in /static/. This middleware allows you to test the production static files layout in a development environment. If debug=true and uncompressedJS=false are set in the ini, this middleware simulates a static files host by prepending /static/ to the URL before handing the request off to the static files app. To use this for testing purposes, add an additional domain alias like redditstatic.local to your hosts file and set static_domain in the ini. Compiled static files will then load from the app using this middleware.
Description
No description provided
Languages
Python
54.4%
JavaScript
26.7%
HTML
11.3%
Less
4.5%
Shell
1%
Other
2%