top | item 42277995 (no title) ftmch | 1 year ago Javascript can do browser redirects, but those are not actual 301 HTTP redirects. discuss order hn newest stackghost|1 year ago Yes, what I'm saying is that you can have the backend return e.g. "{ "response": 301, "redirectUrl": "https://example.com" }", and then have the frontend handle that properly, and you get the functional equivalent.I'm aware that it is different under the hood.
stackghost|1 year ago Yes, what I'm saying is that you can have the backend return e.g. "{ "response": 301, "redirectUrl": "https://example.com" }", and then have the frontend handle that properly, and you get the functional equivalent.I'm aware that it is different under the hood.
stackghost|1 year ago
I'm aware that it is different under the hood.