diff --git a/.gitignore b/.gitignore index 44fe51e..42d443b 100644 --- a/.gitignore +++ b/.gitignore @@ -75,3 +75,5 @@ fabric.properties .env vendor/* node_modules/* +src/api/config.php +dist/api/config.php diff --git a/gulpfile.js b/gulpfile.js index 9188dab..bef7016 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -58,7 +58,7 @@ gulp.task("browserSync", () => // server: { // baseDir: "dist" // }, - proxy: "https://rohitpai.tech/", + proxy: "https://rohitpai.co.uk/", serveStatic: ["./dist"] }); diff --git a/src/api/config.php b/src/api/config.php deleted file mode 100644 index 579fd7b..0000000 --- a/src/api/config.php +++ /dev/null @@ -1,21 +0,0 @@ -getMessage(); - } -} \ No newline at end of file diff --git a/src/api/index.php b/src/api/index.php index 5ddbc95..81615ad 100644 --- a/src/api/index.php +++ b/src/api/index.php @@ -104,8 +104,8 @@ $app->post('/contact', function (Request $request, Response $response) } // email form filler/conatcter - $headers1 = "From: noreply@rohitpai.tech\r\n"; - $headers1 .= "Reply-To: rohit@rohitpai.tech\r\n"; + $headers1 = "From: noreply@rohitpai.co.uk\r\n"; + $headers1 .= "Reply-To: rohit@rohitpai.co.uk\r\n"; $headers1 .= "MIME-Version: 1.0\r\n"; $headers1 .= "Content-Type: text/html; charset=UTF-8\r\n"; @@ -176,7 +176,7 @@ $app->post('/contact', function (Request $request, Response $response)

-

Regards,
Rohit Pai
rohit@rohitpai.tech +

Regards,
Rohit Pai
rohit@rohitpai.co.uk "; @@ -184,7 +184,7 @@ $app->post('/contact', function (Request $request, Response $response) mail($data["email"], $data["subject"], $message1, $headers1); // email to me - $headers2 = "From: noreply@rohitpai.tech\r\n"; + $headers2 = "From: noreply@rohitpai.co.uk\r\n"; $headers2 .= "Reply-To: {$data['email']}\r\n"; $headers2 .= "MIME-Version: 1.0\r\n"; $headers2 .= "Content-Type: text/html; charset=UTF-8\r\n"; @@ -256,8 +256,8 @@ $app->post('/contact', function (Request $request, Response $response) "; - mail("rohit@rohitpai.tech", "{$data['fName']} {$data['lName']} filled in the form", $message2, $headers2); + mail("rohit@rohitpai.co.uk", "{$data['fName']} {$data['lName']} filled in the form", $message2, $headers2); return $response->withStatus(201); }); -$app->run(); \ No newline at end of file +$app->run(); diff --git a/src/api/projectData.php b/src/api/projectData.php index 9125f2a..cef6109 100644 --- a/src/api/projectData.php +++ b/src/api/projectData.php @@ -28,4 +28,4 @@ class projectData return array(array("errorMessage" => "Error, project data not found")); } } -} \ No newline at end of file +} diff --git a/src/index.html b/src/index.html index af45df5..71fe291 100644 --- a/src/index.html +++ b/src/index.html @@ -99,7 +99,7 @@ - + @@ -107,10 +107,10 @@ - + - + @@ -163,4 +163,4 @@ - \ No newline at end of file +