Fixes 404 responses from functions that go through NoRoute path. (#651)

* Fixes 404 responses from functions that go through NoRoute path.

* cleanup

* cleanupp

* fix link

* Rollback a bad change.
This commit is contained in:
Travis Reeder
2018-01-08 10:03:33 -08:00
committed by Reed Allman
parent c4ccf5f5a8
commit 5cdee5579d
4 changed files with 32 additions and 24 deletions

View File

@@ -48,7 +48,7 @@ http://abc.io/users -> function in users/ directory
fn deploy --all
```
If you're just testing locally, you can speed it up with the `--local` flag.
If you're just testing locally, you can speed it up with the `--local` flag. Or if you want to deploy to a different app, use the `--app APPNAME` flag.
## Deploying a single function in the app
@@ -60,4 +60,4 @@ fn deploy hello
## Example app
See https://github.com/fnproject/fn/tree/master/examples/apps/hellos for a simple example. Just clone it and run `fn deploy --all` to see it in action.
See https://github.com/treeder/fn-app-example for a simple example. Just clone it and run `fn deploy --all` to see it in action.