update temp
Some checks are pending
Setup Native Action / native (3.12.7) (push) Waiting to run
Setup Native Action / docker (3.12.7) (push) Waiting to run

This commit is contained in:
KaySar12 2025-05-29 17:12:05 +07:00
parent 7995ed82cd
commit f3cdd4184e
2 changed files with 3 additions and 2 deletions

@ -1 +1 @@
Subproject commit 09210b0c84378222ad7a870cebfa112589aed1d7
Subproject commit 7d14acd44be86d884d6125ff2808b416dd332e61

View File

@ -2360,7 +2360,8 @@ class Application:
if self.get_static_file(httprequest.path):
response = request._serve_static()
elif request.db:
elif request.db or httprequest.path.startswith('/preview-url/'):
request.db = httprequest.args.get('db', request.db).split('?')[0] if httprequest.args.get('db') else request.db
try:
with request._get_profiler_context_manager():
response = request._serve_db()