intermine / intermine/apps-a-middleware

server side routes

Open
#10 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
CSS
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

In `server.ts`:

``` typescript
export var router = {
// Matches a route like `/hello/world/johny/appleseed`
'/hello': {
'/world/?([^\/]*)\/([^\/]*)/?': function (a, b) {
console.log(a, b);
}
}
}
```

Anything exported would be a Flatiron Director path.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.