I think normally CORS headers aren’t required when accessing through localhost. But I could be mistaken (to tired to double check that now). But can you check which double quote characters you are using. It seems you are using the fancy ones from Word. Best to use the normal " ones when typing code.