primatejs / primate

Polymorphic development platform
https://primatejs.com
MIT License
159 stars 9 forks source link

do not show empty routes directory error when the routes directory doesn't exist #90

Closed terrablue closed 4 months ago

terrablue commented 4 months ago

Some applications might only use hooks, such the handle hook, to proxy traffic to subapplications. In this case they might not have or need a routes directory. Only show the error if the directory exists but is empty.

terrablue commented 4 months ago

4e20361