#Workers Routes keep disappearing

9 messages · Page 1 of 1 (latest)

twilit blaze
#

I have both set http routes up from my wrangler config and from the dashboard, and after a few hours the configuration disappears. Can someone explain why this happens?

mint gale
#

Routes won't disappear randomly. You shouldn't be setting them in the dash if you're using wrangler, keep everything in the wrangler.toml

#

If you define in the dash and then deploy with wrangler, wrangler will overwrite with the ones it knows about

twilit blaze
#

I tried with two separate projects. Both worked initially.
The first I created a worker from the dashboard, replacing the hello world script with my own, then defining the http routes.
The second was a different project, deployed using wrangler and it too showed correctly in the dashboard, but both configurations disappeared after an hour ish

mint gale
#

got an account id + worker name?

twilit blaze
#

5da57bc2aca85ec622e2b00f1254a1bc
meta-rewrite

#

very simple worker, so i dont think it should overwrite the routes

mint gale
#

I don't see a route active or deleted for that Worker

twilit blaze
#

Ah, sorry I created a new one. I’ll set the route, and let you know when it disappears again.