N Docs
← Back to site

Update the edge script

2 min readUpdated November 23, 2026

The edge script is the code on Bunny that answers your links. It’s updated separately from the WordPress plugin, because it runs on Bunny, not on your site. Nahnu Links tells you when there’s a newer one and updates it with one click.

The edge script update notice on Home with Update now

Update with one click#

When a plugin update includes a newer edge script, Home and the WordPress admin show Edge script update: v1.12.0 → v1.13.0, with what’s new. Click Update now.

  • Links keep working while it updates. Bunny switches to the new code without downtime.
  • The update reaches every Bunny location within a minute or so.
  • Afterwards, the notice disappears and the version shows as current.

You can also update from Settings > Bunny > One-click setup & updates > Update edge script, which shows the version Bunny runs and when it was last updated.

Why updates matter#

New plugin features often need the matching edge script, for example a new link option or API endpoint. Until you update, the dashboard may offer something the edge script doesn’t do yet. Update soon after each plugin update.

Update by hand#

If the one-click update can’t reach Bunny (for example, your API key isn’t saved on the site):

  1. In Bunny, open Edge Scripts and your script (nahnu-links).
  2. Replace all the code with the plugin’s edge-script.ts, found in the plugin’s folder.
  3. Click Save & Deploy.
  4. In WordPress, click Test Edge Script Connection under Settings > Bunny to see which version Bunny is running.

Replace all of the code, not part of it. The script’s variables and secrets are kept separately and aren’t affected.

Is it out of date?#

See The edge script is out of date.