Skip to content

Commit b92c3bb

Browse files
authored
Merge pull request #6697 from tannewt/temp_redirect
Switch to temporary redirect for cp.local
2 parents 9ab4843 + 185d3e1 commit b92c3bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

supervisor/shared/web_workflow/web_workflow.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ static void _reply_redirect(socketpool_socket_obj_t *socket, _request *request,
575575
lwip_setsockopt(socket->num, IPPROTO_TCP, TCP_NODELAY, &nodelay, sizeof(nodelay));
576576
const char *hostname = common_hal_mdns_server_get_hostname(&mdns);
577577
_send_strs(socket,
578-
"HTTP/1.1 301 Moved Permanently\r\n",
578+
"HTTP/1.1 307 Temporary Redirect\r\n",
579579
"Connection: close\r\n",
580580
"Content-Length: 0\r\n",
581581
"Location: ", NULL);

0 commit comments

Comments
 (0)