Commit 7ffb16f6 authored by Romain Courteaud's avatar Romain Courteaud

Enable CORS when changing computer allocation

parent cf1f566c
...@@ -56,6 +56,9 @@ ...@@ -56,6 +56,9 @@
\n \n
portal = context.getPortalObject()\n portal = context.getPortalObject()\n
computer = context\n computer = context\n
response = REQUEST.RESPONSE\n
\n
context.Base_prepareCorsResponse(RESPONSE=response)\n
\n \n
if allocation_scope == \'open/public\':\n if allocation_scope == \'open/public\':\n
# Public computer capacity is handle by an alarm\n # Public computer capacity is handle by an alarm\n
......
10 11
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment