
    8Cf                     4    d dl mZ d dlmZ d dlmZ defdZy)    )Path)Sanic)SanicException	directoryc                 ~    | j                         st        d      t        d      }|j                  d| ddd       |S )Nz>Cannot setup Sanic Simple Server without a path to a directorySimpleServer/mainTz
index.html)namedirectory_viewindex)is_dirr   r   static)r   apps     L/var/www/highfloat_scraper/venv/lib/python3.12/site-packages/sanic/simple.pycreate_simple_serverr      sM    L
 	
 
CJJYVD   J    N)pathlibr   sanicr   sanic.exceptionsr   r    r   r   <module>r      s      +D r   