Plugin for YOURLS 1.7+.
Prevents CORS issue with domain CNAMES and aliases for admin actions
- In
/user/plugins, create a new folder namedaccess-control-allow-origin. - Drop these files in that directory.
- Go to the Plugins administration page ( eg
http://sho.rt/admin/plugins.php) and activate the plugin.
YOURLS' license, aka "Do whatever the hell you want with it". YOURLS - MIT License