v1.1.0
This update updates the extension to more effectively use Flarum 1.2 frontend infrastructure (Webpack 5), and more protections against invalid or error-prone ad Javascript from breaking your forum frontend.
- Uses Webpack 5
- Supports Flarum v1.2+ only
- Wraps calls to
eval
of Ad JS code with try
/catch
blocks
If your ad throws an error, this will be caught by my extension and logged to the Javascript console, as seen below:
Updating
composer update davwheat/flarum-ext-ads:"*"
php flarum cache:clear