You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: config/Documentation.php
+5-4
Original file line number
Diff line number
Diff line change
@@ -62,11 +62,12 @@ public function defaultRoute(): void // Sockets will not execute this
62
62
{
63
63
self::getUser();
64
64
65
+
65
66
View::$forceWrapper = true; // this will hard refresh the wrapper
66
67
67
68
if (CarbonPHP::$app_local) {
68
-
thrownewPublicAlert('You should run the live version on <a id="staticSite" href="http://dev.carbonphp.com:3000/" style="color:#ff0084">port 3000</a> with the command<br/><b>>> npm start </b>
69
-
<br/>To bypass this message <a href="http://dev.carbonphp.com:8080/releases/10.4.3/" style="color:blue">click here</a>');
69
+
thrownewPublicAlert('You should run the live version on <a id="staticSite" href="http://local.carbonphp.com:3000/" style="color:#ff0084">port 3000</a> with the command<br/><b>>> npm start </b>
70
+
<br/>To bypass this message <a href="http://local.carbonphp.com:8080/releases/10.4.3/" style="color:blue">click here</a>');
@@ -643,7 +644,7 @@ public static function configuration(): array
643
644
CarbonPHP::REBUILD => false
644
645
],
645
646
CarbonPHP::SITE => [
646
-
CarbonPHP::URL => CarbonPHP::$app_local ? 'dev.carbonphp.com' : 'carbonphp.com', /* Evaluated and if not the accurate Redirect. Local php server okay. Remove for any domain */
647
+
CarbonPHP::URL => CarbonPHP::$app_local ? 'local.carbonphp.com' : 'carbonphp.com', /* Evaluated and if not the accurate Redirect. Local php server okay. Remove for any domain */
647
648
CarbonPHP::ROOT => CarbonPHP::$app_root, /* This was defined in our ../index.php */
Copy file name to clipboardexpand all lines: view/assets/react/src/assets/examples/CacheControl.php
+1-1
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ public static function configuration(): array
6
6
{
7
7
return [
8
8
'SITE' => [
9
-
'URL' => APP_LOCAL ? 'dev.carbonphp.com' : 'carbonphp.com', /* Evaluated and if not the accurate Redirect. Local php server okay. Remove for any domain */
9
+
'URL' => APP_LOCAL ? 'local.carbonphp.com' : 'carbonphp.com', /* Evaluated and if not the accurate Redirect. Local php server okay. Remove for any domain */
10
10
'ROOT' => APP_ROOT, /* This was defined in our ../index.php */
Copy file name to clipboardexpand all lines: view/assets/react/src/assets/examples/CarbonPHPConfig.php
+1-1
Original file line number
Diff line number
Diff line change
@@ -346,7 +346,7 @@ public static function configuration(): array
346
346
'REBUILD' => false
347
347
],
348
348
'SITE' => [
349
-
'URL' => APP_LOCAL ? 'dev.carbonphp.com' : 'carbonphp.com', /* Evaluated and if not the accurate Redirect. Local php server okay. Remove for any domain */
349
+
'URL' => APP_LOCAL ? 'local.carbonphp.com' : 'carbonphp.com', /* Evaluated and if not the accurate Redirect. Local php server okay. Remove for any domain */
350
350
'ROOT' => APP_ROOT, /* This was defined in our ../index.php */
0 commit comments