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

Enable CORS when changing computer allocation

parent cf1f566c
......@@ -56,6 +56,9 @@
\n
portal = context.getPortalObject()\n
computer = context\n
response = REQUEST.RESPONSE\n
\n
context.Base_prepareCorsResponse(RESPONSE=response)\n
\n
if allocation_scope == \'open/public\':\n
# Public computer capacity is handle by an alarm\n
......
10
\ No newline at end of file
11
\ 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