diff --git a/Modules/Internal/Http/Controllers/Api/CorporateController.php b/Modules/Internal/Http/Controllers/Api/CorporateController.php
index 691cf576..df8e1421 100755
--- a/Modules/Internal/Http/Controllers/Api/CorporateController.php
+++ b/Modules/Internal/Http/Controllers/Api/CorporateController.php
@@ -78,7 +78,7 @@ class CorporateController extends Controller
public function store(Request $request)
{
$request->validate([
- 'code' => 'required|regex:/^[a-zA-Z0-9 ]+$/',
+ 'code' => 'required|regex:/^[a-zA-Z0-9]+$/',
'name' => 'required',
// 'logo' => 'required',
'policy_code' => 'required_with:policy_id',
@@ -295,7 +295,7 @@ class CorporateController extends Controller
public function update(Request $request, $id)
{
$request->validate([
- 'code' => 'required|regex:/^[a-zA-Z0-9 ]+$/',
+ 'code' => 'required|regex:/^[a-zA-Z0-9]+$/',
'name' => 'required',
'policy_code' => 'required_with:policy_id',
'policy_total_premi' => 'required_with:policy_code',
diff --git a/frontend/client-portal/.htaccess b/frontend/client-portal/.htaccess
index 031b568c..5dd2006d 100755
--- a/frontend/client-portal/.htaccess
+++ b/frontend/client-portal/.htaccess
@@ -1,4 +1,12 @@
+
RewriteEngine On
RewriteBase /
+ RewriteCond %{REQUEST_FILENAME} !-f
+ RewriteCond %{REQUEST_FILENAME} !-d
+ RewriteRule (.*) /index.html [QSA,L]
+
+
+ ModPagespeed off
+
\ No newline at end of file
diff --git a/frontend/dashboard/.htaccess b/frontend/dashboard/.htaccess
index 0272d528..5dd2006d 100755
--- a/frontend/dashboard/.htaccess
+++ b/frontend/dashboard/.htaccess
@@ -1,5 +1,4 @@
- Modpagespeed Off
RewriteEngine On
RewriteBase /
@@ -7,3 +6,7 @@
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) /index.html [QSA,L]
+
+
+ ModPagespeed off
+
\ No newline at end of file