Not able to connect rasa server to a chat widget locally

dear all,

im getting a

Cross-Origin Request Blocked

when i try the chat widget

im running the command

rasa run -m models --enable-api --cors “*” --debug -p 9999

credentaisl.yml

socketio:
  user_message_evt: user_uttered
  bot_message_evt: bot_uttered
  session_persistence: true

any help would be highly appreciated