diff options
| author | Tom Harley | 2018-04-19 17:18:57 +0100 |
|---|---|---|
| committer | Tom Harley | 2018-04-19 17:18:57 +0100 |
| commit | 1fa968fa485cd7253b77412cdaa66c01a8adc8eb (patch) | |
| tree | a5b84f491dd7954809858768092358f4a7ed6fec | |
| parent | Add CORS support (diff) | |
| download | medicine-1fa968fa485cd7253b77412cdaa66c01a8adc8eb.tar.gz medicine-1fa968fa485cd7253b77412cdaa66c01a8adc8eb.zip | |
Add further CORS support
| -rw-r--r-- | src/app.ts | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -81,6 +81,7 @@ class App { 'Access-Control-Allow-Headers', 'Origin, X-Requested-With, Content-Type, Accept' ); + res.header('Access-Control-Allow-Methods', '*'); next(); }); } |
