Update index.php

This commit is contained in:
Namhyeon Go 2019-05-24 00:22:03 +09:00 committed by GitHub
parent de87e84775
commit 641c1a8c32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ if(CORS_DOMAINS !== false) {
if(in_array($_origin, $origins)) {
header(sprintf("Access-Control-Allow-Origin: %s", $_origin));
} else {
header(sprintf("Access-Control-Allow-Origin: https://%s", $origins[0]));
header(sprintf("Access-Control-Allow-Origin: %s", $origins[0]));
}
}
} else {