diff options
| author | cjd24 | 2018-04-19 21:01:12 +0100 |
|---|---|---|
| committer | cjd24 | 2018-04-19 21:01:12 +0100 |
| commit | 1416af119d500ea6e7983262a7ebab3ab35c0500 (patch) | |
| tree | ba7f6d4b86cc0eb1ec35c407ed59af4af90e996c /src/app.ts | |
| parent | Merge branch 'cjd24/conversion' of https://gitlab.cs.st-andrews.ac.uk/cs3099g... (diff) | |
| parent | fixed test-crash (diff) | |
| download | medicine-1416af119d500ea6e7983262a7ebab3ab35c0500.tar.gz medicine-1416af119d500ea6e7983262a7ebab3ab35c0500.zip | |
adding trh/gets into mine to get the additional CORS stuff
Diffstat (limited to 'src/app.ts')
| -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(); }); } |
