Okay i found the answer.
Just copy this org.openhab.cors:enable=true in the runtime.cfg file.
org.openhab.cors:enable=true