We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df4d044 commit 974e45fCopy full SHA for 974e45f
server/error.html renamed to error.html
server/index.html
@@ -2,7 +2,7 @@
2
<html>
3
<head>
4
<title>42 Webserv</title>
5
- <link rel="icon" href="/favicon.ico"/>
+ <link rel="icon" href="favicon.ico"/>
6
<style>
7
.title {
8
text-align : center;
src/CGIResponseError.cpp
@@ -12,7 +12,7 @@ void CGIResponseError::set_head_only(bool only) {
12
13
void CGIResponseError::setBody(int error_code, std::string &body)
14
{
15
- std::string _default_error_file("../server/error.html");
+ std::string _default_error_file("../error.html");
16
17
std::map<int, std::string>::iterator it = _error_pages.find(error_code);
18
if (it != _error_pages.end())
0 commit comments