-
I am using Redirect but looks like it redirects to // ...
Router::new()
.route( "/faq", get(|| async { Redirect::to("example.domain.com") }))
// ... |
Beta Was this translation helpful? Give feedback.
Answered by
meppu
Apr 25, 2023
Replies: 1 comment
-
Looks like it was not redirecting because of my browser cache 😅 I also tried // ...
Router::new()
.route( "/faq", get(|| async { Redirect::to("https://example.domain.com") }))
// ... |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
meppu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks like it was not redirecting because of my browser cache 😅
I also tried
https://example.domain.com
but it didn't work so that's why i wanted an help here but after disabling browser cache it works now! Here is the answer for others: