prooph / link

Automated Workflow Processing
BSD 3-Clause "New" or "Revised" License
13 stars 1 forks source link

Implement app-api-routing middleware #50

Open codeliner opened 9 years ago

codeliner commented 9 years ago

Depends on #49

We need a routing middleware that either invokes the wep app middleware or the API middleware based on the request URL.

If URL points to /api/* the API middleware should be invoked otherwise the web app middleware.