eshaan7 / Flask-Shell2HTTP

Execute shell commands via HTTP server (via flask's endpoints).
https://flask-shell2http.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
171 stars 28 forks source link

Adding your own route while using shell2http #6

Closed m0bi5 closed 3 years ago

m0bi5 commented 3 years ago

Hey,

I am currently trying to use a vanilla flask route along with routes defined by shell2http, however, when I access the vanilla flask route, I get a 404. Any idea on how I can do this?

eshaan7 commented 3 years ago

Hi. Could you share the code or error logs ? I have used flask-shell2http with vanilla flask routes and it does work fine so it's probably some trivial bug.

m0bi5 commented 3 years ago

Yes, my bad I was missing a @ before the definition of my vanilla flask route, very trivial mistake. Amazing library btw, would love to contribute!