File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 1717
1818# Application definition
1919INSTALLED_APPS = [
20+ "servestatic.runserver_nostatic" ,
2021 "daphne" , # Overrides `runserver` command with an ASGI server
2122 "django.contrib.admin" ,
2223 "django.contrib.auth" ,
144145
145146# ReactPy-Django Settings
146147REACTPY_BACKHAUL_THREAD = any (sys .argv [0 ].endswith (webserver_name ) for webserver_name in ["hypercorn" , "uvicorn" ])
148+
149+ # ServeStatic Settings
150+ SERVESTATIC_USE_FINDERS = True
151+ SERVESTATIC_AUTOREFRESH = True
Original file line number Diff line number Diff line change 1717
1818# Application definition
1919INSTALLED_APPS = [
20+ "servestatic.runserver_nostatic" ,
2021 "daphne" , # Overrides `runserver` command with an ASGI server
2122 "django.contrib.admin" ,
2223 "django.contrib.auth" ,
130131
131132# ReactPy-Django Settings
132133REACTPY_BACKHAUL_THREAD = any (sys .argv [0 ].endswith (webserver_name ) for webserver_name in ["hypercorn" , "uvicorn" ])
134+
135+ # ServeStatic Settings
136+ SERVESTATIC_USE_FINDERS = True
137+ SERVESTATIC_AUTOREFRESH = True
You can’t perform that action at this time.
0 commit comments