Skip to content

Commit

Permalink
Try a perma-redirect to fix the weird proxy redirect issue
Browse files Browse the repository at this point in the history
  • Loading branch information
LunarWatcher committed Apr 18, 2024
1 parent 979d6da commit 145836a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hazel/meta/Macros.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
})

#define HAZEL_REDIRECT(from, to) CROW_ROUTE(server.getApp(), from)([&](crow::response& res) { \
res.redirect(to); \
res.moved_perm(to); \
res.end(); \
});

Expand Down

0 comments on commit 145836a

Please sign in to comment.