Commit 5d1e2d9
committed
feat(router): route deis.domain to controller
Forwards requests to deis.domain to the controller.
TESTING: rebuild the router and controller with this change:
$ make -C router build restart
$ make -C controller build restart
Test that deis.domain routes to the controller and that other
requests to the domain route to the app. Also, send several requests
to the API and be sure that nothing broke related to auth because
of the proxying of requests.
The integration tests were updated to test the controller and the app
routing, so you can also `cd test && bundle exec rake`.
Also, try creating an app with the name of 'deis' - it should be
rejected.
replaces #974
part of #5351 parent f80e965 commit 5d1e2d9
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
138 | 140 | | |
139 | 141 | | |
140 | 142 | | |
| |||
0 commit comments