Skip to content

Commit

Permalink
accept jobs submitted from https://mcx.space/cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Apr 15, 2023
1 parent 7515611 commit 2fd3594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mcxcloud/backend/mcxserver.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ if(&V("license") eq ''){

print $q -> header(
-type => 'application/javascript',
-access_control_allow_origin => 'http://mcx.space',
-access_control_allow_origin => (($ENV{"HTTP_REFERER"} =~ /^https:/) ? 'https://mcx.space' : 'http://mcx.space'),
-access_control_allow_headers => 'content-type,X-Requested-With',
-access_control_allow_methods => 'GET,POST,OPTIONS',
-access_control_allow_credentials => 'true',
Expand Down

0 comments on commit 2fd3594

Please sign in to comment.