Upgrade conduit from 0.6 to next
This commit is contained in:
parent
7d71caa8db
commit
2693126dca
5 changed files with 47 additions and 10 deletions
|
@ -138,10 +138,15 @@ with lib;
|
|||
}))
|
||||
];
|
||||
};
|
||||
# Enable CORS from anywhere since we want all clients to find us out
|
||||
extraConfig = ''
|
||||
add_header 'Access-Control-Allow-Origin' "*";
|
||||
'';
|
||||
extraConfig =
|
||||
# Enable CORS from anywhere since we want all clients to find us out
|
||||
''
|
||||
add_header 'Access-Control-Allow-Origin' "*";
|
||||
'' +
|
||||
# Force returning values to be JSON data
|
||||
''
|
||||
default_type application/json;
|
||||
'';
|
||||
})
|
||||
cfg.instances;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue