Plugin for YOURLS 1.7+.

Description

Prevents CORS issue with domain CNAMES and aliases for admin actions

Installation

  1. In /user/plugins, create a new folder named access-control-allow-origin.
  2. Drop these files in that directory.
  3. Go to the Plugins administration page ( eg http://sho.rt/admin/plugins.php ) and activate the plugin.

License

YOURLS' license, aka "Do whatever the hell you want with it". YOURLS - MIT License