Can't create or update URLS in Firefox

I’ve been having a problem, but only with Firefox that may be related to this github issue. When I go to add a new URL the button starts spinning, but nothing happens. Similarly when I go to edit a URL the icons just start spinning and there’s no action.

Following @dgw tip in the github issue of checking browser console, this error appears:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at <yourls domain>/admin/admin-ajax.php?action=add&url=<url>&keyword=<keyword>&nonce=<nonce id>. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

Reading: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSMissingAllowOrigin

I added this to the .htaccess file for my site:
Header set Access-Control-Allow-Origin '*'

That’s then gotten rid of the CORS error message, but not the problem in firefox.

Any thoughts? Using Version 1.7.4 on a WHM/cPanel installation.

Let keep the discussion on GitHub. :slightly_smiling_face: