fastn icon indicating copy to clipboard operation
fastn copied to clipboard

Redirect persists despite removal/commenting of code in `FASTN.ftd`

Open gargajit opened this issue 2 years ago • 3 comments

URL redirect still works after commenting/removing redirect code in FASTN.ftd

Where this issue was found: 13-use-redirect workshop

How to recreate:

  • Create a redirect
  • test the redirect working in the browser
  • comment/remove the redirect from FASTN.ftd
  • test the redirect URL

This will still redirect to the new URL.

Desired Output: It should throw the endpoint not found error.

gargajit avatar Oct 05 '23 06:10 gargajit

What happens if you restart fastn server?

amitu avatar Oct 05 '23 08:10 amitu

What happens if you restart fastn server?

Then it throws the endpoint not found error which is the desired output.

gargajit avatar Oct 05 '23 09:10 gargajit

Thanks, this looks like some data we are not updating after server start.

amitu avatar Oct 06 '23 06:10 amitu