Changeset 4a983f6 in theo


Ignore:
Timestamp:
11/21/2022 10:56:34 PM (2 months ago)
Author:
Lance Edgar <lance@…>
Branches:
master
Children:
bb68e27
Parents:
64a2b05
Message:

Allow running web app via ASGI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • theo/web/app.py

    r64a2b05 r4a983f6  
    33#
    44#  Rattail -- Retail Software Framework
    5 #  Copyright © 2010-2020 Lance Edgar
     5#  Copyright © 2010-2022 Lance Edgar
    66#
    77#  This file is part of Rattail.
     
    9292
    9393    return pyramid_config.make_wsgi_app()
     94
     95
     96def asgi_main():
     97    """
     98    This function returns an ASGI application.
     99    """
     100    from tailbone.asgi import make_asgi_app
     101
     102    return make_asgi_app(main)
Note: See TracChangeset for help on using the changeset viewer.